Skip to content

Commit ade6997

Browse files
committed
changes to storage account
1 parent e704b69 commit ade6997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adi_function_app/storage_account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async def get_client(self):
2727
return BlobServiceClient(account_url=endpoint, credential=credential)
2828
else:
2929
endpoint = os.environ.get("StorageAccount__ConnectionString")
30-
return BlobServiceClient(account_url=endpoint)
30+
return BlobServiceClient.from_connection_string(endpoint)
3131

3232
async def add_metadata_to_blob(
3333
self, source: str, container: str, metadata: dict

0 commit comments

Comments
 (0)