Fix nomad inspect output
This commit is contained in:
parent
6f3f5c8ba5
commit
849eafbae4
|
@ -321,8 +321,8 @@ func (j *Job) AddPeriodicConfig(cfg *PeriodicConfig) *Job {
|
||||||
// RegisterJobRequest is used to serialize a job registration
|
// RegisterJobRequest is used to serialize a job registration
|
||||||
type RegisterJobRequest struct {
|
type RegisterJobRequest struct {
|
||||||
Job *Job
|
Job *Job
|
||||||
EnforceIndex bool
|
EnforceIndex bool `json:",omitempty"`
|
||||||
JobModifyIndex uint64
|
JobModifyIndex uint64 `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// registerJobResponse is used to deserialize a job response
|
// registerJobResponse is used to deserialize a job response
|
||||||
|
|
Loading…
Reference in a new issue