This commit is contained in:
pika 2025-04-03 13:51:52 +02:00
parent 78ce15e82d
commit 0a31714a93
10 changed files with 159 additions and 149 deletions

View file

@ -105,6 +105,10 @@ def process_app_ports(app_id, port_data, server_id=None):
if app:
server_id = app.server_id
# If no port data is provided, that's valid (app with no ports)
if not port_data:
return True, None
# Track the port+protocol combinations we've seen to avoid duplicates
seen_ports = set()