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

@@ -142,10 +142,6 @@ func printServerCommonMsg(apiEndpoints []string) {
}
printEventNotifiers()
if globalMinioConsolePortAuto && globalBrowserEnabled {
logger.Info(color.RedBold("\nWARNING: Console endpoint is listening on a dynamic port (%s), please use --console-address \":PORT\" to choose a static port.",
globalMinioConsolePort))
}
if globalBrowserEnabled {
consoleEndpointStr := strings.Join(stripStandardPorts(getConsoleEndpoints(), globalMinioConsoleHost), " ")
logger.Info(color.Blue("Console: ") + color.Bold(fmt.Sprintf("%s ", consoleEndpointStr)))