Merge current v3.1 into master
This commit is contained in:
commit
8dc9607db7
50 changed files with 159 additions and 128 deletions
|
@ -199,8 +199,7 @@ func getPort(container dockerData, serverPort string) string {
|
|||
nat.Sort(ports, less)
|
||||
|
||||
if len(ports) > 0 {
|
||||
min := ports[0]
|
||||
return min.Port()
|
||||
return ports[0].Port()
|
||||
}
|
||||
|
||||
return ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue