From 99aa4205a76b455629d8d1081f53e3e2d0678384 Mon Sep 17 00:00:00 2001 From: anbo-de Date: Mon, 11 Mar 2024 00:19:18 +0100 Subject: [PATCH] fixed wrong variable name --- tasks/start_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/start_service.py b/tasks/start_service.py index ff8ca04..18c83ea 100644 --- a/tasks/start_service.py +++ b/tasks/start_service.py @@ -31,6 +31,7 @@ def start_service(service_id: str, mode: str, db, cursor, port, dockerfile, tag, ports = {} + docker_mode = mode if docker_mode in ['docker', 'dockerfile']: for port_mapping in port.split(','): ex_port, in_port = port_mapping.split(':')