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 6fa45158dfd11e7539ff862dd3c792d5b239aac8
Author: orepnikov <[email protected]>
AuthorDate: Thu May 26 15:11:22 2022 +0300

    changes
---
 infrastructure-provisioning/src/general/lib/azure/actions_lib.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py 
b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
index 4238ece7d..3675c92b1 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -1501,11 +1501,11 @@ def find_des_jars(all_jars, des_path):
         print('Error:', str(err))
         sys.exit(1)
 
-def create_hdinsight_cluster(resource_group_name, instance_name, 
cluster_parameters):
+def create_hdinsight_cluster(self, resource_group_name, instance_name, 
cluster_parameters):
     try:
-        client_1 = AzureActions.__init__()hdinsight_client
+        self.client_1 = AzureActions.__init__()hdinsight_client
         print('Starting to create HDInsight Spark cluster 
{}'.format('hdinsight'))
-        result = client_1.clusters.begin_create(resource_group_name, 
instance_name, cluster_parameters)
+        result = self.client_1.clusters.begin_create(resource_group_name, 
instance_name, cluster_parameters)
 
         return result
     except Exception as err:


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

Reply via email to