Remove trailing dot on drain message to ensure better consistency. (#5956)

This commit is contained in:
James Rasell
2019-11-05 22:53:38 +01:00
committed by Tim Gross
parent 3aa5ac42cf
commit c01e495aa3

View File

@@ -335,7 +335,7 @@ func (n *Nodes) monitorDrainAllocs(ctx context.Context, nodeID string, ignoreSys
// Exit if all allocs are terminal
if runningAllocs == 0 {
msg := Messagef(MonitorMsgLevelInfo, "All allocations on node %q have stopped.", nodeID)
msg := Messagef(MonitorMsgLevelInfo, "All allocations on node %q have stopped", nodeID)
select {
case allocCh <- msg:
case <-ctx.Done():