Api v1.13.0 (#1324)

* fix(chalice): fixed mandatory AZURE_ACCOUNT_NAME issue

* fix(chalice): fixed mandatory CLOUD issue
This commit is contained in:
Kraiem Taha Yassine 2023-06-09 12:01:15 +02:00 committed by GitHub
parent 810e24dc71
commit b91899d067
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ from .azure_blob import AzureBlobStorage
from .s3 import AmazonS3Storage
# Init global object storage client
if config("CLOUD") == "azure":
if config("CLOUD", default=None) == "azure":
StorageClient = AzureBlobStorage()
else:
StorageClient = AmazonS3Storage()