mirror of https://github.com/kubernetes/kops.git
Refactor error message
This commit is contained in:
parent
8a3cf01384
commit
e1e02aa761
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue