From c28f09d4a7b5180fc5064f89c7992d76c52fcae1 Mon Sep 17 00:00:00 2001 From: bestgopher <84328409@qq.com> Date: Fri, 23 Aug 2024 22:11:35 +0800 Subject: [PATCH] refactor: displays the OS-specific doc url (#20313) --- cmd/server-startup-msg.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/server-startup-msg.go b/cmd/server-startup-msg.go index c90995cae..c2ef35649 100644 --- a/cmd/server-startup-msg.go +++ b/cmd/server-startup-msg.go @@ -23,9 +23,10 @@ import ( "net/url" "strings" + xnet "github.com/minio/pkg/v3/net" + "github.com/minio/minio/internal/color" "github.com/minio/minio/internal/logger" - xnet "github.com/minio/pkg/v3/net" ) // generates format string depending on the string length and padding. @@ -143,7 +144,7 @@ func printServerCommonMsg(apiEndpoints []string) { // Prints startup message for Object API access, prints link to our SDK documentation. func printObjectAPIMsg() { - logger.Startup(color.Blue("\nDocs: ") + "https://min.io/docs/minio/linux/index.html") + logger.Startup(color.Blue("\nDocs: ") + "https://docs.min.io") } func printLambdaTargets() {