Fix nomad inspect output

This commit is contained in:
Alex Dadgar 2016-07-28 14:48:25 -07:00
parent 6f3f5c8ba5
commit 849eafbae4

View file

@ -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