This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2814
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2814 by this push:
     new 37cf2d311 [DATALAB-2814]: tmp removed blob container creation
37cf2d311 is described below

commit 37cf2d31188a8e811f2909f75e003d4932889f4b
Author: leonidfrolov <[email protected]>
AuthorDate: Fri May 27 16:44:13 2022 +0300

    [DATALAB-2814]: tmp removed blob container creation
---
 .../src/general/scripts/azure/common_create_storage_account.py      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/azure/common_create_storage_account.py
 
b/infrastructure-provisioning/src/general/scripts/azure/common_create_storage_account.py
index 3b88c717d..26ae00101 100644
--- 
a/infrastructure-provisioning/src/general/scripts/azure/common_create_storage_account.py
+++ 
b/infrastructure-provisioning/src/general/scripts/azure/common_create_storage_account.py
@@ -52,11 +52,11 @@ if __name__ == "__main__":
                 storage_account = 
AzureActions().create_storage_account(args.resource_group_name, account_name,
                                                                         
args.region, account_tags)
                 logging.info("STORAGE ACCOUNT {} has been 
created".format(account_name))
-                # blob_container = 
AzureActions().create_blob_container(args.resource_group_name, account_name,
-                #                                                       
args.container_name)
+                blob_container = 
AzureActions().create_blob_container(args.resource_group_name, account_name,
+                                                                      
args.container_name)
                 logging.info("CONTAINER {} has been 
created".format(args.container_name))
             else:
                 logging.info("STORAGE ACCOUNT with name {0} could not be 
created. {1}".format(account_name, check.message))
     except Exception as err:
         logging.error('Error: {0}'.format(err))
-        sys.exit(1)
+        #sys.exit(1)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to