1
0
mirror of https://github.com/minio/mc.git synced 2025-07-30 07:23:03 +03:00

Add errors for deprecated commands (#4498)

This commit is contained in:
Taran Pelkey
2023-04-06 16:51:10 +00:00
committed by GitHub
parent b5768efc96
commit 1c6f4f48ab
23 changed files with 31 additions and 58 deletions

View File

@ -27,7 +27,6 @@ import (
"github.com/minio/cli"
"github.com/minio/madmin-go/v2"
"github.com/minio/mc/pkg/probe"
"github.com/minio/pkg/console"
)
var adminSpeedtestCmd = cli.Command{
@ -42,7 +41,7 @@ var adminSpeedtestCmd = cli.Command{
}
func mainAdminSpeedtest(_ *cli.Context) error {
console.Infoln("Please use 'mc support perf'")
deprecatedError("mc support perf")
return nil
}