Skip to content

Commit 2f0970c

Browse files
committed
patch vendor
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent ae9e27b commit 2f0970c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

opts/swarmopts/port.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ func (p *PortOpt) Set(value string) error {
110110
if err != nil {
111111
return err
112112
}
113+
fmt.Printf("parsed port %s -> %+v / %+v", value, ports, portBindingMap)
113114
for _, portBindings := range portBindingMap {
114115
for _, portBinding := range portBindings {
115116
if portBinding.HostIP != "" {
@@ -171,6 +172,7 @@ func ConvertPortToPortConfig(
171172
if err != nil && binding.HostPort != "" {
172173
return nil, fmt.Errorf("invalid hostport binding (%s) for port (%d)", binding.HostPort, portProto.Num())
173174
}
175+
fmt.Printf("%+v", pr)
174176

175177
for p := range pr.All() {
176178
ports = append(ports, swarm.PortConfig{

0 commit comments

Comments
 (0)