File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,12 +92,9 @@ private static ICloudBlobDirectory GetCloudBlobDirectoryUri(Uri storageBaseUri)
9292
9393 var blobEndpoint = new Uri ( storageBaseUri . GetComponents ( UriComponents . SchemeAndServer , UriFormat . Unescaped ) ) ;
9494 // Create BlobServiceClient with anonymous credentials
95- var blobServiceClient = new BlobServiceClient ( blobEndpoint , new AzureSasCredential ( "" ) ) ;
95+ var blobServiceClient = new BlobServiceClient ( blobEndpoint ) ;
9696
9797 string containerName = pathSegments [ 0 ] ;
98- // Get a reference to a container
99- BlobContainerClient containerClient = blobServiceClient . GetBlobContainerClient ( containerName ) ;
100-
10198 string pathInContainer = string . Join ( "/" , pathSegments . Skip ( 1 ) ) ;
10299 return new CloudBlobDirectoryWrapper ( blobServiceClient , containerName , pathInContainer ) ;
103100 }
You can’t perform that action at this time.
0 commit comments