fmt.Printf("<cmd/init> cloud provider %q initialized for the control plane. Remember to set the same cloud provider flag on the kubelet.\n",s.InitFlags.CloudProvider)
fmt.Printf("<cmd/init> cloud provider %q initialized for the control plane. Remember to set the same cloud provider flag on the kubelet.\n",cfg.CloudProvider)
}else{
returnfmt.Errorf("<cmd/init> cloud provider %q is not supported, you can use any of %v, or leave it unset.\n",s.InitFlags.CloudProvider,kubeadmapi.ListOfCloudProviders)
returnfmt.Errorf("<cmd/init> cloud provider %q is not supported, you can use any of %v, or leave it unset.\n",cfg.CloudProvider,cloudprovider.CloudProviders())
// TODO(phase1+) @krousey: I know it won't happen with the way it is currently implemented, but this doesn't handle case where ok is true and err is non-nil.