Skip to content

Commit

Permalink
Add number of evictions to DesiredUpdates struct to use in CLI/API
Browse files Browse the repository at this point in the history
  • Loading branch information
Preetha Appan committed Sep 27, 2018
1 parent be841f4 commit 1b06413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,7 @@ type DesiredUpdates struct {
InPlaceUpdate uint64
DestructiveUpdate uint64
Canary uint64
Evict uint64
}

type JobDispatchRequest struct {
Expand Down
1 change: 1 addition & 0 deletions nomad/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7293,6 +7293,7 @@ type DesiredUpdates struct {
InPlaceUpdate uint64
DestructiveUpdate uint64
Canary uint64
Evict uint64
}

func (d *DesiredUpdates) GoString() string {
Expand Down

0 comments on commit 1b06413

Please sign in to comment.