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:
kannappanr
2019-10-30 09:08:00 +05:30
committed by Nitish Tiwari
parent 90a60d3b6a
commit 810978720f
+1 -1
View File
@@ -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",