Skip to content

Commit

Permalink
fixed wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
anbo-de committed Mar 10, 2024
1 parent f4da8c9 commit 99aa420
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/start_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(':')
Expand Down

0 comments on commit 99aa420

Please sign in to comment.