mirror of
https://github.com/minio/minio.git
synced 2025-01-12 15:33:22 -05:00
parent
7a06e158f1
commit
ae0b165431
@ -85,7 +85,7 @@ func printStartupSafeModeMessage(apiEndpoints []string, err error) {
|
|||||||
endPoint := strippedAPIEndpoints[0]
|
endPoint := strippedAPIEndpoints[0]
|
||||||
|
|
||||||
// Configure 'mc', following block prints platform specific information for minio client admin commands.
|
// Configure 'mc', following block prints platform specific information for minio client admin commands.
|
||||||
if color.IsTerminal() {
|
if color.IsTerminal() && !globalCLIContext.Anonymous {
|
||||||
logStartupMessage(color.RedBold("\nCommand-line Access: ") + mcAdminQuickStartGuide)
|
logStartupMessage(color.RedBold("\nCommand-line Access: ") + mcAdminQuickStartGuide)
|
||||||
if runtime.GOOS == globalWindowsOSName {
|
if runtime.GOOS == globalWindowsOSName {
|
||||||
mcMessage := fmt.Sprintf("> mc.exe config host add %s %s %s %s --api s3v4", alias,
|
mcMessage := fmt.Sprintf("> mc.exe config host add %s %s %s %s --api s3v4", alias,
|
||||||
@ -222,7 +222,7 @@ func printCLIAccessMsg(endPoint string, alias string) {
|
|||||||
cred := globalActiveCred
|
cred := globalActiveCred
|
||||||
|
|
||||||
// Configure 'mc', following block prints platform specific information for minio client.
|
// Configure 'mc', following block prints platform specific information for minio client.
|
||||||
if color.IsTerminal() {
|
if color.IsTerminal() && !globalCLIContext.Anonymous {
|
||||||
logStartupMessage(color.Blue("\nCommand-line Access: ") + mcQuickStartGuide)
|
logStartupMessage(color.Blue("\nCommand-line Access: ") + mcQuickStartGuide)
|
||||||
if runtime.GOOS == globalWindowsOSName {
|
if runtime.GOOS == globalWindowsOSName {
|
||||||
mcMessage := fmt.Sprintf("$ mc.exe config host add %s %s %s %s", alias,
|
mcMessage := fmt.Sprintf("$ mc.exe config host add %s %s %s %s", alias,
|
||||||
|
Loading…
Reference in New Issue
Block a user