mirror of
https://github.com/minio/mc.git
synced 2025-11-10 13:42:32 +03:00
Fix error message wording in mc admin commands (#2887)
This commit is contained in:
@@ -64,7 +64,7 @@ func mainAdminUserEnable(ctx *cli.Context) error {
|
||||
|
||||
// Create a new MinIO Admin Client
|
||||
client, err := newAdminClient(aliasedURL)
|
||||
fatalIf(err, "Cannot get a configured admin connection.")
|
||||
fatalIf(err, "Unable to initialize admin connection.")
|
||||
|
||||
e := client.SetUserStatus(args.Get(1), madmin.AccountEnabled)
|
||||
fatalIf(probe.NewError(e).Trace(args...), "Cannot enable user")
|
||||
|
||||
Reference in New Issue
Block a user