update banner to reflect the final agreed UI (#15192)

This commit is contained in:
Harshavardhana
2022-06-28 16:37:40 -07:00
committed by GitHub
parent 2070c215a2
commit 2f25639ea0
4 changed files with 28 additions and 9 deletions

View File

@@ -51,8 +51,9 @@ func printStartupMessage(apiEndpoints []string, err error) {
}
if len(globalSubnetConfig.APIKey) == 0 && err == nil {
logger.Info(color.Blue("\nLicense:") + " GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>")
logger.Info(color.Yellow("Detected a deployment not registered with SUBNET. Please register your deployment via 'mc support register ALIAS'\n"))
var builder strings.Builder
startupBanner(&builder)
logger.Info("\n" + builder.String())
}
strippedAPIEndpoints := stripStandardPorts(apiEndpoints, globalMinioHost)