Skip to content

Commit 02f6cf5

Browse files
committed
whoops
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent f00f011 commit 02f6cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opts/swarmopts/port.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func ConvertPortToPortConfig(
159159
for _, binding := range portBindings[nat.Port(portProto.String())] {
160160
if p := net.ParseIP(binding.HostIP); p != nil && !p.IsUnspecified() {
161161
// TODO(thaJeztah): use context-logger, so that this output can be suppressed (in tests).
162-
logrus.Warnf("ignoring IP-address (%s:%s) service will listen on '0.0.0.0'", net.JoinHostPort(binding.HostIP, binding.HostPort), portProto.Proto())
162+
logrus.Warnf("ignoring IP-address (%s:%s) service will listen on '0.0.0.0'", net.JoinHostPort(binding.HostIP, binding.HostPort), portProto.String())
163163
}
164164

165165
startHostPort, endHostPort, err := nat.ParsePortRange(binding.HostPort)

0 commit comments

Comments
 (0)