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

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


The following commit(s) were added to refs/heads/DATALAB-2909 by this push:
     new fd25db5a8 [DATALAB-2909]: fixed mistakes
fd25db5a8 is described below

commit fd25db5a80a5bead8d1ee67612489b8c599dfa53
Author: Oleksandr Polishchuk <[email protected]>
AuthorDate: Mon Sep 26 16:33:18 2022 +0300

    [DATALAB-2909]: fixed mistakes
---
 infrastructure-provisioning/src/general/lib/azure/meta_lib.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/azure/meta_lib.py 
b/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
index 9b1cf1f47..8a98b53fe 100644
--- a/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
@@ -706,10 +706,8 @@ class AzureMeta:
             cluster_name = cluster_name['id']
             host = {}
             try:
-                print(cluster_name)
                 request = 
self.hdinsight_client.clusters.get(resource_group_name, cluster_name)
                 host['id'] = cluster_name
-                print(request.properties.cluster_state)
                 if request.properties.cluster_state == 'Accepted' or 
request.properties.cluster_state == 'HdInsightConfiguration' or 
request.properties.cluster_state == 'ClusterStorageProvisioned' or 
request.properties.cluster_state == 'ReadyForDeployment':
                     host['status'] = 'creating'
                 elif request.properties.cluster_state == 'DeletePending' or 
request.properties.cluster_state == 'Deleting':


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

Reply via email to