Skip to content

Commit

Permalink
Merge pull request #1264 from andyzhangx/fix-load-config-from-secret
Browse files Browse the repository at this point in the history
fix: ensure azure cloud config could be loaded from secret
  • Loading branch information
andyzhangx authored Feb 29, 2024
2 parents a47eb56 + dce710d commit 9baac32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/blob/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func GetCloudProvider(ctx context.Context, kubeClient kubernetes.Interface, node
if kubeClient != nil {
az.KubeClient = kubeClient
klog.V(2).Infof("reading cloud config from secret %s/%s", secretNamespace, secretName)
config, err := configloader.Load[azure.Config](ctx, &configloader.K8sSecretLoaderConfig{
config, err = configloader.Load[azure.Config](ctx, &configloader.K8sSecretLoaderConfig{
K8sSecretConfig: configloader.K8sSecretConfig{
SecretName: secretName,
SecretNamespace: secretNamespace,
Expand Down

0 comments on commit 9baac32

Please sign in to comment.