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

omartushevskyi pushed a commit to branch DLAB-1546
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1546 by this push:
     new 557ac99  [DLAB-1546]: added name convention changes
557ac99 is described below

commit 557ac99de11fc518c6e52c4ecb629031dcf71bce
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Wed Mar 4 13:10:51 2020 +0200

    [DLAB-1546]: added name convention changes
---
 .../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 b8eb63a..69af7bd 100644
--- 
a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook.py
+++ 
b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook.py
@@ -70,7 +70,7 @@ def terminate_nb(instance_name, bucket_name, region, zone, 
user_name):
 
     print("Terminating notebook")
     try:
-        GCPActions().remove_instance(instance_name, zone)
+        GCPActions.remove_instance(instance_name, zone)
     except Exception as err:
         dlab.fab.append_result("Failed to terminate instance", str(err))
         sys.exit(1)


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

Reply via email to