mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 01:45:44 +03:00
Fix nomad inspect output
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user