From 5ebc3a67e894fe093f9f762ae7b710ac86994ccd Mon Sep 17 00:00:00 2001
From: jrybicki-jsc <j.rybicki@fz-juelich.de>
Date: Mon, 13 Dec 2021 11:00:52 +0100
Subject: [PATCH] connection decorator for #27"

---
 dags/conn_deco.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dags/conn_deco.py b/dags/conn_deco.py
index 147bc31..b773671 100644
--- a/dags/conn_deco.py
+++ b/dags/conn_deco.py
@@ -26,8 +26,8 @@ def conn_decorator():
         rrid = kwargs['run_id']
         host = params.get('host')
         port = params.get('port', 2222)
-        key = params.get('key')
         user = params.get('login', 'eflows')
+        key = params.get('key')
 
         conn_id = f"tmp_connection_{rrid}"
         extra = {"private_key": key}
-- 
GitLab