mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
Merge pull request #5223 from hashicorp/f-jobs-list-datacenters
Add Datacenters to the JobListStub struct
This commit is contained in:
@@ -782,6 +782,7 @@ type JobListStub struct {
|
||||
ID string
|
||||
ParentID string
|
||||
Name string
|
||||
Datacenters []string
|
||||
Type string
|
||||
Priority int
|
||||
Periodic bool
|
||||
|
||||
@@ -3419,6 +3419,7 @@ func (j *Job) Stub(summary *JobSummary) *JobListStub {
|
||||
ID: j.ID,
|
||||
ParentID: j.ParentID,
|
||||
Name: j.Name,
|
||||
Datacenters: j.Datacenters,
|
||||
Type: j.Type,
|
||||
Priority: j.Priority,
|
||||
Periodic: j.IsPeriodic(),
|
||||
@@ -3561,6 +3562,7 @@ type JobListStub struct {
|
||||
ID string
|
||||
ParentID string
|
||||
Name string
|
||||
Datacenters []string
|
||||
Type string
|
||||
Priority int
|
||||
Periodic bool
|
||||
|
||||
Reference in New Issue
Block a user