Skip to content

Commit

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

* add changelog
  • Loading branch information
calvn committed Aug 18, 2021
1 parent 94a7a2f commit 2714e23
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
@@ -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
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 2714e23

Please sign in to comment.