ranger
ranger copied to clipboard
RANGER-4314: Delete nonexistent user return error status code
What changes were proposed in this pull request?
https://issues.apache.org/jira/projects/RANGER/issues/RANGER-4314?filter=allissues&orderby=created+DESC
check return user is null before continue the code process, in order to make response code as 400 instead of 404
How was this patch tested?
manual tests
@mneethiraj It seems this PR can be merged