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
type RegisterJobRequest struct {
Job *Job
EnforceIndex bool
JobModifyIndex uint64
EnforceIndex bool `json:",omitempty"`
JobModifyIndex uint64 `json:",omitempty"`
}
// registerJobResponse is used to deserialize a job response