This is an automated email from the ASF dual-hosted git repository.
madhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new 9a034ab RANGER-3571: Fixed a bug in GrantRevokeRoleRequest.toString()
9a034ab is described below
commit 9a034ab87ae6d8c5a80d1e35dd0e0fd13a9a8dc2
Author: AlexaYuqinD <[email protected]>
AuthorDate: Mon Jan 3 20:47:09 2022 -0800
RANGER-3571: Fixed a bug in GrantRevokeRoleRequest.toString()
Fixed a bug in GrantRevokeRoleRequest.java
Signed-off-by: Madhan Neethiraj <[email protected]>
---
.../main/java/org/apache/ranger/plugin/util/GrantRevokeRoleRequest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/agents-common/src/main/java/org/apache/ranger/plugin/util/GrantRevokeRoleRequest.java
b/agents-common/src/main/java/org/apache/ranger/plugin/util/GrantRevokeRoleRequest.java
index d5bc57d..04b4e72 100644
---
a/agents-common/src/main/java/org/apache/ranger/plugin/util/GrantRevokeRoleRequest.java
+++
b/agents-common/src/main/java/org/apache/ranger/plugin/util/GrantRevokeRoleRequest.java
@@ -275,7 +275,7 @@ public class GrantRevokeRoleRequest implements Serializable
{
sb.append("} ");
sb.append("groups={");
- if(roles != null) {
+ if(groups != null) {
for(String group : groups) {
sb.append(group).append(" ");
}