some improvements
This commit is contained in:
parent
ba07d4fdfc
commit
312dcd577c
10 changed files with 367 additions and 379 deletions
|
|
@ -52,10 +52,10 @@ func cloudInitializer(config *config.CompletedConfig) cloudprovider.Interface {
|
|||
// initialize cloud provider with the cloud provider name and config file provided
|
||||
cloud, err := cloudprovider.InitCloudProvider(providerName, cloudConfig.CloudConfigFile)
|
||||
if err != nil {
|
||||
klog.Fatalf("Cloud provider could not be initialized: %v", err)
|
||||
klog.Fatalf("cloud provider could not be initialized: %v", err)
|
||||
}
|
||||
if cloud == nil {
|
||||
klog.Fatalf("Cloud provider is nil")
|
||||
klog.Fatalf("cloud provider is nil")
|
||||
}
|
||||
|
||||
if !cloud.HasClusterID() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue