Skip to content

Commit

Permalink
dbplugin: fix error message in DeleteUser (#12351) (#12355)
Browse files Browse the repository at this point in the history
* dbplugin: fix error message in DeleteUser

* add changelog
  • Loading branch information
calvn authored Aug 19, 2021
1 parent 9d66474 commit 51764ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/12351.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note: bug
sdk/database: Fix a DeleteUser error message on the gRPC client.
```
2 changes: 1 addition & 1 deletion sdk/database/dbplugin/v5/grpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (c gRPCClient) DeleteUser(ctx context.Context, req DeleteUserRequest) (Dele
if c.doneCtx.Err() != nil {
return DeleteUserResponse{}, ErrPluginShutdown
}
return DeleteUserResponse{}, fmt.Errorf("unable to update user: %w", err)
return DeleteUserResponse{}, fmt.Errorf("unable to delete user: %w", err)
}

return deleteUserRespFromProto(rpcResp)
Expand Down

0 comments on commit 51764ab

Please sign in to comment.