ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject ranger git commit: RANGER-1732 Collection added to itsel
Date Tue, 12 Sep 2017 13:03:34 GMT
Repository: ranger
Updated Branches:
  refs/heads/master e4dfa818a -> 2aa96bf6e


RANGER-1732 Collection added to itsel

Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/2aa96bf6
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/2aa96bf6
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/2aa96bf6

Branch: refs/heads/master
Commit: 2aa96bf6ea5b9b0bf5b9cdbb8603a9ecb6195d4e
Parents: e4dfa81
Author: peng.jianhua <peng.jianhua@zte.com.cn>
Authored: Tue Sep 12 10:02:56 2017 +0800
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Sep 12 13:33:46 2017 +0100

----------------------------------------------------------------------
 .../ranger/plugin/audit/RangerMultiResourceAuditHandler.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/2aa96bf6/agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerMultiResourceAuditHandler.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerMultiResourceAuditHandler.java
b/agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerMultiResourceAuditHandler.java
index 9990dd4..c8ba6dd 100644
--- a/agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerMultiResourceAuditHandler.java
+++ b/agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerMultiResourceAuditHandler.java
@@ -42,7 +42,7 @@ public class RangerMultiResourceAuditHandler extends RangerDefaultAuditHandler
{
 
 	@Override
 	public void logAuthzAudits(Collection<AuthzAuditEvent> auditEvents) {
-		auditEvents.addAll(auditEvents);
+		this.auditEvents.addAll(auditEvents);
 	}
 
 	public void flushAudit() {


Mime
View raw message