diff --git a/test/e2e/driver/azurefile_driver.go b/test/e2e/driver/azurefile_driver.go index 6c0d5f215c..a3dd24ccf2 100644 --- a/test/e2e/driver/azurefile_driver.go +++ b/test/e2e/driver/azurefile_driver.go @@ -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 {