Skip to content

Commit

Permalink
Fix typo in error message (#2945)
Browse files Browse the repository at this point in the history
Change the error message from `Cannot remove new user` to 
`Cannot remove <User>`, when a non-existent user is removed.
  • Loading branch information
kannappanr authored and nitisht committed Oct 30, 2019
1 parent 90a60d3 commit 8109787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/admin-user-remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8109787

Please sign in to comment.