From 6fcfee7b9221153cd305b8ebdcd42e6b2b1f7719 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Fri, 30 Mar 2018 14:20:05 -0700 Subject: [PATCH] cli: fix drain monitoring formating --- command/node_drain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/node_drain.go b/command/node_drain.go index 9a85dce85..0c0063f3b 100644 --- a/command/node_drain.go +++ b/command/node_drain.go @@ -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 {