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.
2 parents b97d08f + 193ad96 commit bfb69dbCopy full SHA for bfb69db
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