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:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user