drain: fix monitor node index handling

This commit is contained in:
Michael Schurter
2018-03-30 12:43:53 -07:00
parent 7ff790bc7d
commit 482f0b9fc7

View File

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