Copy the task states from the client update

This commit is contained in:
Alex Dadgar
2015-12-17 15:33:57 -08:00
parent fa655404c4
commit 950c80cce6

View File

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