Api v1.13.0 (#1324)
* fix(chalice): fixed mandatory AZURE_ACCOUNT_NAME issue * fix(chalice): fixed mandatory CLOUD issue
This commit is contained in:
parent
810e24dc71
commit
b91899d067
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue