refactor: displays the OS-specific doc url (#20313)

This commit is contained in:
bestgopher 2024-08-23 22:11:35 +08:00 committed by GitHub
parent 73992d2b9f
commit c28f09d4a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -23,9 +23,10 @@ import (
"net/url" "net/url"
"strings" "strings"
xnet "github.com/minio/pkg/v3/net"
"github.com/minio/minio/internal/color" "github.com/minio/minio/internal/color"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
xnet "github.com/minio/pkg/v3/net"
) )
// generates format string depending on the string length and padding. // 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. // Prints startup message for Object API access, prints link to our SDK documentation.
func printObjectAPIMsg() { 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() { func printLambdaTargets() {