From 8429b31e5548212927921cd175e5f020909aa77e Mon Sep 17 00:00:00 2001 From: Laila Kassar Date: Fri, 26 Mar 2021 23:16:05 +0000 Subject: [PATCH] Normalize share name to not include capital letters --- test/e2e/driver/azurefile_driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {