Convert port to string. #919

Merged
telackey merged 2 commits from telackey/rawportstr into main 2024-08-14 00:25:36 +00:00
Showing only changes of commit 2e4d7f554b - Show all commits

View File

@ -86,7 +86,7 @@ class ClusterInfo:
for service_name in services:
service_info = services[service_name]
if "ports" in service_info:
for raw_port in [ str(p) for p in service_info["ports"] ]:
for raw_port in [str(p) for p in service_info["ports"]]:
if opts.o.debug:
print(f"service port: {raw_port}")
if ":" in raw_port: