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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
