diff --git a/src/main/groovy/com/rundeck/plugins/azure/plugin/AzureFileStoragePlugin.groovy b/src/main/groovy/com/rundeck/plugins/azure/plugin/AzureFileStoragePlugin.groovy index a227338..40aebc4 100644 --- a/src/main/groovy/com/rundeck/plugins/azure/plugin/AzureFileStoragePlugin.groovy +++ b/src/main/groovy/com/rundeck/plugins/azure/plugin/AzureFileStoragePlugin.groovy @@ -125,7 +125,7 @@ class AzureFileStoragePlugin implements ExecutionFileStoragePlugin, ExecutionMul serviceClient = account.createCloudBlobClient(); // Container name must be lower case. - this.containerName = this.containerName ? this.containerName.toLowerCase : expandedPath.substring(0,expandedPath.indexOf("/")).toLowerCase() + this.containerName = this.containerName ? this.containerName.toLowerCase() : expandedPath.substring(0,expandedPath.indexOf("/")).toLowerCase() container = serviceClient.getContainerReference(containerName) container.createIfNotExists()