Move update servers cli output to the correct commands location
This commit is contained in:
parent
11a4863a7d
commit
73879faa9d
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue