You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2020/10/12 10:30:46 UTC
[incubator-datalab] 01/01: disabled dataproc cluster listing during
gcp resources termination
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch disabled_dataproc_temination_v.2.1
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 3e4af62de34f4b6ffe1cb12d3677b35f25aeb371
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Mon Oct 12 13:28:36 2020 +0300
disabled dataproc cluster listing during gcp resources termination
---
.../src/general/scripts/gcp/ssn_terminate_gcp_resources.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/ssn_terminate_gcp_resources.py b/infrastructure-provisioning/src/general/scripts/gcp/ssn_terminate_gcp_resources.py
index 533198b..672f7d9 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/ssn_terminate_gcp_resources.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/ssn_terminate_gcp_resources.py
@@ -45,7 +45,7 @@ if __name__ == "__main__":
labels = [
{'sbn': args.service_base_name}
]
- clusters_list = meta_lib.GCPMeta().get_dataproc_list(labels)
+ #clusters_list = meta_lib.GCPMeta().get_dataproc_list(labels)
if clusters_list:
for cluster_name in clusters_list:
actions_lib.GCPActions().delete_dataproc_cluster(cluster_name, args.region)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org