From 80f28ebf0bb24c96b7ca5eeeee413b6eb582cb6c Mon Sep 17 00:00:00 2001 From: Pete Shima Date: Thu, 24 Mar 2016 13:31:23 -0700 Subject: [PATCH] Move update servers cli output to the correct commands location --- client/client.go | 1 - command/client_config.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 6a1a7c33f..338aecb2c 100644 --- a/client/client.go +++ b/client/client.go @@ -383,7 +383,6 @@ func (c *Client) SetServers(servers []string) { } c.logger.Printf("[INFO] client: setting server address list: %s", setServers) - fmt.Printf("Updated server address list: %s", setServers) c.servers = setServers } diff --git a/command/client_config.go b/command/client_config.go index bfc8f993f..d370ebb3e 100644 --- a/command/client_config.go +++ b/command/client_config.go @@ -86,6 +86,7 @@ func (c *ClientConfigCommand) Run(args []string) int { c.Ui.Error(fmt.Sprintf("Error updating server list: %s", err)) return 1 } + c.Ui.Output(fmt.Sprint("Updated server list")) return 0 }