From d6e3e8c8cf56b5e3324d384bb65f6a1f1ed2665b Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Mon, 22 Feb 2016 17:25:11 -0800 Subject: [PATCH] Send NodeID when updating client allocation --- client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.go b/client/client.go index 1295ed062..9f5e9f21c 100644 --- a/client/client.go +++ b/client/client.go @@ -835,6 +835,7 @@ func (c *Client) updateAllocStatus(alloc *structs.Allocation) { // Only send the fields that are updatable by the client. stripped := new(structs.Allocation) stripped.ID = alloc.ID + stripped.NodeID = alloc.NodeID stripped.TaskStates = alloc.TaskStates stripped.ClientStatus = alloc.ClientStatus stripped.ClientDescription = alloc.ClientDescription