Skip to content

Commit

Permalink
Merge pull request #605 from kassarl/issue-600
Browse files Browse the repository at this point in the history
test: Normalize share name to not include capital letters
  • Loading branch information
k8s-ci-robot authored Mar 27, 2021
2 parents b8c149c + 8429b31 commit ae0306f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/driver/azurefile_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func InitAzureFileDriver() PVTestDriver {
// normalizeProvisioner extracts any '/' character in the provisioner name to '-'.
// StorageClass name cannot container '/' character.
func normalizeProvisioner(provisioner string) string {
return strings.ReplaceAll(provisioner, "/", "-")
return strings.ToLower(strings.ReplaceAll(provisioner, "/", "-"))
}

func (d *AzureFileDriver) GetDynamicProvisionStorageClass(parameters map[string]string, mountOptions []string, reclaimPolicy *v1.PersistentVolumeReclaimPolicy, bindingMode *storagev1.VolumeBindingMode, allowedTopologyValues []string, namespace string) *storagev1.StorageClass {
Expand Down

0 comments on commit ae0306f

Please # to comment.