mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
committed by
Nitish Tiwari
parent
52b159b1db
commit
bebaff269c
@@ -2319,7 +2319,7 @@ func getEndpointsLocalAddr(endpoints EndpointList) string {
|
||||
}
|
||||
}
|
||||
|
||||
return globalMinioHost + ":" + globalMinioPort
|
||||
return net.JoinHostPort(globalMinioHost, globalMinioPort)
|
||||
}
|
||||
|
||||
// fetches a random number between range min-max.
|
||||
|
||||
Reference in New Issue
Block a user