Refactor error message

This commit is contained in:
Bharath Vedartham 2021-02-09 00:24:30 +05:30
parent 8a3cf01384
commit e1e02aa761
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ func NewCluster(opt *NewClusterOptions, clientset simple.Clientset) (*NewCluster
if allZones.Len() == 0 {
return nil, fmt.Errorf("must specify --zones or --cloud")
}
return nil, fmt.Errorf("unable to infer cloud provider from zones (is there a typo in --zones?)")
return nil, fmt.Errorf("unable to infer cloud provider from zones. pass in the cloud provider explicitly using --cloud")
}
}