Update to go1.23
This commit is contained in:
parent
d2030a5835
commit
e56ae1a766
41 changed files with 113 additions and 119 deletions
|
@ -408,8 +408,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