From b91899d06784f702b9dbb7a6a4a4acac03dd2889 Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Fri, 9 Jun 2023 12:01:15 +0200 Subject: [PATCH] Api v1.13.0 (#1324) * fix(chalice): fixed mandatory AZURE_ACCOUNT_NAME issue * fix(chalice): fixed mandatory CLOUD issue --- ee/api/chalicelib/utils/storage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/api/chalicelib/utils/storage/__init__.py b/ee/api/chalicelib/utils/storage/__init__.py index 4b7c7453c..fb9c3956f 100644 --- a/ee/api/chalicelib/utils/storage/__init__.py +++ b/ee/api/chalicelib/utils/storage/__init__.py @@ -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()