We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 091a5dc commit 193ad96Copy full SHA for 193ad96
pkg/volume/azure_file/azure_util.go
@@ -66,6 +66,7 @@ func (s *azureSvc) GetAzureCredentials(host volume.VolumeHost, nameSpace, secret
66
if accountName == "" || accountKey == "" {
67
return "", "", fmt.Errorf("Invalid %v/%v, couldn't extract azurestorageaccountname or azurestorageaccountkey", nameSpace, secretName)
68
}
69
+ accountName = strings.TrimSpace(accountName)
70
return accountName, accountKey, nil
71
72
0 commit comments