Move admin profile to support profile (#3972)

As part of reorganization of support related commands
This commit is contained in:
Shireesh Anjal
2022-02-13 16:08:52 -08:00
committed by GitHub
parent 7b93343803
commit ab2bce93ea
8 changed files with 332 additions and 202 deletions
+3 -1
View File
@@ -19,6 +19,7 @@ package cmd
import (
"github.com/minio/cli"
"github.com/minio/pkg/console"
)
var adminProfileSubcommands = []cli.Command{
@@ -35,10 +36,11 @@ var adminProfileCmd = cli.Command{
Flags: globalFlags,
Subcommands: adminProfileSubcommands,
HideHelpCommand: true,
Hidden: true,
}
// mainAdminProfile is the handle for "mc admin profile" command.
func mainAdminProfile(ctx *cli.Context) error {
commandNotFound(ctx, adminProfileSubcommands)
console.Infoln("Please use 'mc support profile'")
return nil
}