agent: include ip in container port if not 0.0.0.0 or ::

This commit is contained in:
henrygd
2026-03-15 14:57:55 -04:00
parent 380d2b1091
commit 5bfe4f6970
3 changed files with 36 additions and 40 deletions

View File

@@ -17,7 +17,7 @@ type ApiInfo struct {
Ports []struct {
// PrivatePort uint16
PublicPort uint16
// IP string
IP string
// Type string
}
// ImageID string