cli: fix drain monitoring formating

This commit is contained in:
Michael Schurter
2018-03-30 14:20:05 -07:00
parent 2c1f24c1ce
commit 6fcfee7b92

View File

@@ -281,7 +281,7 @@ func (c *NodeDrainCommand) Run(args []string) int {
if enable && !detach {
now := time.Now()
c.Ui.Warn(fmt.Sprintf("%s: Ctrl-C to stop monitoring: will not cancel the node drain", formatTime(now)))
c.Ui.Info(fmt.Sprintf("%s: Ctrl-C to stop monitoring: will not cancel the node drain", formatTime(now)))
c.Ui.Output(fmt.Sprintf("%s: Node %q drain strategy set", formatTime(now), node.ID))
outCh := client.Nodes().MonitorDrain(context.Background(), node.ID, meta.LastIndex, ignoreSystem)
for msg := range outCh {