Fix typo in error message (#2945)
Change the error message from `Cannot remove new user` to `Cannot remove <User>`, when a non-existent user is removed.
This commit is contained in:
committed by
Nitish Tiwari
parent
90a60d3b6a
commit
810978720f
@@ -66,7 +66,7 @@ func mainAdminUserRemove(ctx *cli.Context) error {
|
||||
fatalIf(err, "Unable to initialize admin connection.")
|
||||
|
||||
e := client.RemoveUser(args.Get(1))
|
||||
fatalIf(probe.NewError(e).Trace(args...), "Cannot remove new user")
|
||||
fatalIf(probe.NewError(e).Trace(args...), "Cannot remove %s", args.Get(1))
|
||||
|
||||
printMsg(userMessage{
|
||||
op: "remove",
|
||||
|
||||
Reference in New Issue
Block a user