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

mykolabodnar pushed a commit to branch DataLab-keycloak_deployment_fixes
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to 
refs/heads/DataLab-keycloak_deployment_fixes by this push:
     new 5873df4  [DATALAB-Keycloak_deployment-fixes] - Connection fixed
5873df4 is described below

commit 5873df444613c64e26896922d4a755e16a936af9
Author: bodnarmykola <[email protected]>
AuthorDate: Mon May 31 12:41:35 2021 +0300

    [DATALAB-Keycloak_deployment-fixes] - Connection fixed
---
 .../scripts/deploy_keycloak/deploy_keycloak.py                        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/infrastructure-provisioning/scripts/deploy_keycloak/deploy_keycloak.py 
b/infrastructure-provisioning/scripts/deploy_keycloak/deploy_keycloak.py
index 0b6ba7e..6bf10ed 100644
--- a/infrastructure-provisioning/scripts/deploy_keycloak/deploy_keycloak.py
+++ b/infrastructure-provisioning/scripts/deploy_keycloak/deploy_keycloak.py
@@ -85,7 +85,7 @@ def configure_nginx():
     conn.sudo("systemctl enable nginx")
     conn.sudo("systemctl restart nginx")
 
-def init_datalab_connection(hostname, username, keyfile):
+def init_connection(hostname, username, keyfile):
     try:
         global conn
         attempt = 0
@@ -119,7 +119,7 @@ if __name__ == "__main__":
     else:
         hostname = private_ip_address
 
-    conn = datalab.fab.init_datalab_connection(hostname, args.os_user, 
args.keyfile)
+    conn = init_connection(hostname, args.os_user, args.keyfile)
 
     print("Install Java")
     ensure_jre_jdk(args.os_user)

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

Reply via email to