mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Send NodeID when updating client allocation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user