mirror of https://github.com/status-im/consul.git
parent
5943c79ed4
commit
20645c8459
|
@ -49,6 +49,7 @@ func (c *cmd) Run(args []string) int {
|
|||
dcs, err := client.Catalog().Datacenters()
|
||||
if err != nil {
|
||||
c.UI.Error(fmt.Sprintf("Error listing datacenters: %s", err))
|
||||
return 1
|
||||
}
|
||||
|
||||
for _, dc := range dcs {
|
||||
|
|
Loading…
Reference in New Issue