You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by my...@apache.org on 2020/03/25 15:10:52 UTC
[incubator-dlab] branch DLAB-1663 created (now 23ee18a)
This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a change to branch DLAB-1663
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.
at 23ee18a [DLAB-1663]: [GCP] - Notebook termination does not delete related Data Engine fixed
This branch includes the following new commits:
new 23ee18a [DLAB-1663]: [GCP] - Notebook termination does not delete related Data Engine fixed
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org
[incubator-dlab] 01/01: [DLAB-1663]: [GCP] - Notebook termination
does not delete related Data Engine fixed
Posted by my...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DLAB-1663
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 23ee18aa1e92120700a9f1dfed1c3ddd320ea2be
Author: bodnarmykola <bo...@gmail.com>
AuthorDate: Wed Mar 25 17:10:03 2020 +0200
[DLAB-1663]: [GCP] - Notebook termination does not delete related Data Engine fixed
---
.../src/general/scripts/gcp/common_terminate_notebook.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook.py b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook.py
index 69af7bd..00d39f5 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook.py
@@ -57,7 +57,7 @@ def terminate_nb(instance_name, bucket_name, region, zone, user_name):
if clusters_list.get('items'):
for vm in clusters_list['items']:
try:
- GCPActions().remove_instance(vm['name'], zone)
+ GCPActions.remove_instance(vm['name'], zone)
print("Instance {} has been terminated".format(vm['name']))
except:
pass
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org