remove auto-port warning for console-address (#15260)

This commit is contained in:
Harshavardhana
2022-07-08 13:36:41 -07:00
committed by GitHub
parent c2ddcb3b40
commit 913e977c8d
4 changed files with 2 additions and 14 deletions

View File

@@ -430,7 +430,6 @@ func handleCommonCmdArgs(ctx *cli.Context) {
if err != nil {
logger.FatalIf(err, "Unable to get free port for console on the host")
}
globalMinioConsolePortAuto = true
consoleAddr = net.JoinHostPort("", p.String())
}