Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
dboreham committed Sep 19, 2023
1 parent 2d5ca94 commit 43683bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/deployment_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _get_mapped_ports(stack: str, map_recipe: str):
for x in range(0, len(ports_array)):
orig_port = ports_array[x]
# Strip /udp suffix if present
bare_orig_port = orig_port.replace("/udp","")
bare_orig_port = orig_port.replace("/udp", "")
random_port = random.randint(20000, 50000) # Beware: we're relying on luck to not collide
if map_recipe == "any-variable-random":
# This is the default so take no action
Expand Down

0 comments on commit 43683bc

Please sign in to comment.