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 2021/02/17 10:36:55 UTC

[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]: made connection global

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

lfrolov pushed a commit to branch DATALAB-2091
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
     new 6f0f6d9  [DATALAB-2091]: made connection global
6f0f6d9 is described below

commit 6f0f6d98ffc91e24fb3812e93585efa6be441046
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Feb 17 12:36:37 2021 +0200

    [DATALAB-2091]: made connection global
---
 infrastructure-provisioning/src/base/scripts/install_prerequisites.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/base/scripts/install_prerequisites.py b/infrastructure-provisioning/src/base/scripts/install_prerequisites.py
index e82c1aa..53ae682 100644
--- a/infrastructure-provisioning/src/base/scripts/install_prerequisites.py
+++ b/infrastructure-provisioning/src/base/scripts/install_prerequisites.py
@@ -53,7 +53,8 @@ def create_china_pip_conf_file(conn):
 
 if __name__ == "__main__":
     print("Configure connections")
-    global conn = datalab.fab.init_datalab_connection(args.hostname, args.user, args.keyfile)
+    global conn
+    conn = datalab.fab.init_datalab_connection(args.hostname, args.user, args.keyfile)
     deeper_config = json.loads(args.additional_config)
 
     if args.region == 'cn-north-1':


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