Move update servers cli output to the correct commands location

This commit is contained in:
Pete Shima
2016-03-24 13:31:23 -07:00
parent e44b3b2edf
commit 80f28ebf0b
2 changed files with 1 additions and 1 deletions

View File

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

View File

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