parent
b69342f0c1
commit
9aa00d45b6
|
@ -49,6 +49,7 @@ func (c *cmd) Run(args []string) int {
|
||||||
dcs, err := client.Catalog().Datacenters()
|
dcs, err := client.Catalog().Datacenters()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.UI.Error(fmt.Sprintf("Error listing datacenters: %s", err))
|
c.UI.Error(fmt.Sprintf("Error listing datacenters: %s", err))
|
||||||
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, dc := range dcs {
|
for _, dc := range dcs {
|
||||||
|
|
Loading…
Reference in New Issue