mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Optimized some non-standard variable names
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
This commit is contained in:
parent
d5966cb5d9
commit
18b7fe8fd8
@ -116,7 +116,7 @@ func StartTestServer(t Logger, customFlags []string) (result TestServer, err err
|
||||
cloudConfig := config.Complete().ComponentConfig.KubeCloudShared.CloudProvider
|
||||
cloud, err := cloudprovider.InitCloudProvider(cloudConfig.Name, cloudConfig.CloudConfigFile)
|
||||
if err != nil {
|
||||
return result, fmt.Errorf("Cloud provider could not be initialized: %v", err)
|
||||
return result, fmt.Errorf("cloud provider could not be initialized: %v", err)
|
||||
}
|
||||
if cloud == nil {
|
||||
return result, fmt.Errorf("cloud provider is nil")
|
||||
|
Loading…
Reference in New Issue
Block a user