You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/03/16 10:04:04 UTC

[incubator-dlab] branch DLAB-1624 created (now 08b1d87)

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

lfrolov pushed a change to branch DLAB-1624
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.


      at 08b1d87  [DLAB-1624]: fixed bug

This branch includes the following new commits:

     new 08b1d87  [DLAB-1624]: fixed bug

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-1624]: fixed bug

Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 08b1d877462a0d8c23f2b5be02958a5967cc1459
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Mon Mar 16 11:56:49 2020 +0200

    [DLAB-1624]: fixed bug
---
 .../src/general/scripts/gcp/common_stop_notebook.py                   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_stop_notebook.py b/infrastructure-provisioning/src/general/scripts/gcp/common_stop_notebook.py
index 6c042b8..bcd431b 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/common_stop_notebook.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_stop_notebook.py
@@ -63,7 +63,7 @@ def stop_notebook(instance_name, bucket_name, region, zone, ssh_user, key_path,
         if clusters_list.get('items'):
             for vm in clusters_list['items']:
                 try:
-                    GCPActions().stop_instance(vm['name'], zone)
+                    GCPActions.stop_instance(vm['name'], zone)
                     print("Instance {} has been stopped".format(vm['name']))
                 except:
                     pass
@@ -76,7 +76,7 @@ def stop_notebook(instance_name, bucket_name, region, zone, ssh_user, key_path,
 
     print("Stopping notebook")
     try:
-        GCPActions().stop_instance(instance_name, zone)
+        GCPActions.stop_instance(instance_name, zone)
     except Exception as err:
         dlab.fab.append_result("Failed to stop instance", str(err))
         sys.exit(1)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org