Merge current v2.11 into v3.1
This commit is contained in:
commit
85f4fd0979
40 changed files with 114 additions and 116 deletions
|
@ -193,8 +193,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