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 9b326df + e0601bb commit 62489f7Copy full SHA for 62489f7
src/UmbracoFileSystemProviders.Azure/AzureFileSystem.cs
@@ -631,8 +631,11 @@ private static CloudBlobContainer CreateContainer(CloudBlobClient cloudBlobClien
631
return container;
632
}
633
634
- container.CreateIfNotExists();
635
- container.SetPermissions(new BlobContainerPermissions { PublicAccess = accessType });
+ if (!container.Exists())
+ {
636
+ container.CreateIfNotExists();
637
+ container.SetPermissions(new BlobContainerPermissions { PublicAccess = accessType });
638
+ }
639
640
641
0 commit comments