mirror of https://github.com/kubernetes/kops.git
Correct error message and fix typo
This commit is contained in:
parent
3a87b1e015
commit
8d2c8fc3d8
|
@ -378,7 +378,7 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
|
|||
if cloudup.AlphaAllowOpenstack.Enabled() {
|
||||
// Openstack flags
|
||||
cmd.Flags().StringVar(&options.OpenstackExternalNet, "os-ext-net", options.OpenstackExternalNet, "The name of the external network to use with the openstack router")
|
||||
cmd.Flags().BoolVar(&options.OpenstackStorageIgnoreAZ, "os-kubelet-ignore-az", options.OpenstackStorageIgnoreAZ, "If true kubernetes may attach volumes accross availability zones")
|
||||
cmd.Flags().BoolVar(&options.OpenstackStorageIgnoreAZ, "os-kubelet-ignore-az", options.OpenstackStorageIgnoreAZ, "If true kubernetes may attach volumes across availability zones")
|
||||
}
|
||||
|
||||
return cmd
|
||||
|
|
|
@ -30,7 +30,7 @@ func (c *openstackCloud) GetFloatingIP(id string) (fip *floatingips.FloatingIP,
|
|||
|
||||
fip, err = floatingips.Get(c.ComputeClient(), id).Extract()
|
||||
if err != nil {
|
||||
return false, fmt.Errorf("CreateFloatingIP: create floating IP failed: %v", err)
|
||||
return false, fmt.Errorf("GetFloatingIP: fetching floating IP failed: %v", err)
|
||||
}
|
||||
return true, nil
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue