Skip to content

Commit

Permalink
Merge pull request #600 from hashicorp/b-task-status
Browse files Browse the repository at this point in the history
Copy the task states from the client update
  • Loading branch information
dadgar committed Dec 17, 2015
2 parents 24521e5 + 950c80c commit 82c87d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nomad/state/state_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ func (s *StateStore) UpdateAllocFromClient(index uint64, alloc *structs.Allocati
// Pull in anything the client is the authority on
copyAlloc.ClientStatus = alloc.ClientStatus
copyAlloc.ClientDescription = alloc.ClientDescription
copyAlloc.TaskStates = alloc.TaskStates

// Update the modify index
copyAlloc.ModifyIndex = index
Expand Down

0 comments on commit 82c87d0

Please sign in to comment.