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

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

commit 5cb6feb91199a7705ac1bf3326f9dc4aef82c690
Author: orepnikov <[email protected]>
AuthorDate: Thu May 26 15:53:38 2022 +0300

    change func hdinsight
---
 infrastructure-provisioning/src/general/lib/azure/actions_lib.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py 
b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
index 70e305f64..aa6d02ec4 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -1521,7 +1521,9 @@ def create_hdinsight_cluster(resource_group_name, 
instance_name, cluster_paramet
 
 def terminate_hdinsight_cluster(resource_group_name, instance_name, 
cluster_parameters):
     try:
-        client_1 = AzureActions.__init__().hdinsight_client
+        azure_action = AzureActions()
+        client_1 = azure_action.hdinsight_client
+        #client_1 = AzureActions.__init__().hdinsight_client
         client_1.clusters.begin_delete(resource_group_name, instance_name, 
cluster_parameters)
 
     except Exception as err:


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

Reply via email to