From ee9915b9e2e239412d5321387d81bf2d03397df0 Mon Sep 17 00:00:00 2001 From: Stefano Alberto Russo <stefano.russo@gmail.com> Date: Sat, 7 Oct 2023 16:04:43 +0200 Subject: [PATCH] Fixed bug in retreiving custom SSH ports in computing resources using SSH access mode. --- services/webapp/code/rosetta/core_app/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/webapp/code/rosetta/core_app/utils.py b/services/webapp/code/rosetta/core_app/utils.py index 259b6b3..ae57126 100644 --- a/services/webapp/code/rosetta/core_app/utils.py +++ b/services/webapp/code/rosetta/core_app/utils.py @@ -560,7 +560,7 @@ def get_ssh_access_mode_credentials(computing, user): computing_port = computing.conf.get('port') except AttributeError: computing_port = 22 - if not computing_host: + if not computing_port: computing_port = 22 # Get computing user and keys -- GitLab