yanger: Adapt to new stricter pattern for publish

This commit is contained in:
Mattias Walström
2026-02-27 08:35:21 +01:00
committed by Joachim Wiberg
parent 19a0151f68
commit c4f24caa94
7 changed files with 102 additions and 55 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ def network(ps, inspect):
if port["host_ip"]:
addr = f"{port['host_ip']}:"
pub = f"{addr}{port['host_port']}->{port['container_port']}/{port['protocol']}"
pub = f"{addr}{port['host_port']}:{port['container_port']}/{port['protocol']}"
net["publish"].append(pub)
return net