1
0
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:
poornas
2019-09-06 17:09:44 -07:00
committed by Harshavardhana
parent 5fc35b6682
commit 1dd2b4494d
26 changed files with 26 additions and 26 deletions

View File

@@ -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")