Merge pull request #5223 from hashicorp/f-jobs-list-datacenters

Add Datacenters to the JobListStub struct
This commit is contained in:
Preetha
2019-01-24 08:13:30 -06:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -782,6 +782,7 @@ type JobListStub struct {
ID string
ParentID string
Name string
Datacenters []string
Type string
Priority int
Periodic bool

View File

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