mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
drain: fix monitor node index handling
This commit is contained in:
@@ -230,7 +230,7 @@ func (n *Nodes) monitorDrainNode(ctx context.Context, nodeID string, index uint6
|
||||
lastStrategy = node.DrainStrategy
|
||||
|
||||
// Drain still ongoing, update index and block for updates
|
||||
index = meta.LastIndex
|
||||
q.WaitIndex = meta.LastIndex
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user