mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
Move update servers cli output to the correct commands location
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user