Correctly map to int not string here
This commit is contained in:
parent
e0f26e9693
commit
b69da4f43a
|
@ -225,8 +225,8 @@ func (d *DockerEnvironment) portBindings() nat.PortMap {
|
|||
},
|
||||
}
|
||||
|
||||
out[nat.Port(fmt.Sprintf("%s/tcp", port))] = binding
|
||||
out[nat.Port(fmt.Sprintf("%s/udp", port))] = binding
|
||||
out[nat.Port(fmt.Sprintf("%d/tcp", port))] = binding
|
||||
out[nat.Port(fmt.Sprintf("%d/udp", port))] = binding
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user