You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by co...@apache.org on 2016/09/05 15:43:27 UTC
incubator-ranger git commit: Minor typo
Repository: incubator-ranger
Updated Branches:
refs/heads/master 2fb907c80 -> 40d742fa9
Minor typo
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/40d742fa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/40d742fa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/40d742fa
Branch: refs/heads/master
Commit: 40d742fa97f710baf636cc2edfc4aa878f168e18
Parents: 2fb907c
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Mon Sep 5 16:42:50 2016 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Mon Sep 5 16:43:21 2016 +0100
----------------------------------------------------------------------
.../authorization/kafka/authorizer/RangerKafkaAuthorizer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/40d742fa/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java
----------------------------------------------------------------------
diff --git a/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java b/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java
index 0304e2b..8ce8233 100644
--- a/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java
+++ b/plugin-kafka/src/main/java/org/apache/ranger/authorization/kafka/authorizer/RangerKafkaAuthorizer.java
@@ -124,10 +124,10 @@ public class RangerKafkaAuthorizer implements Authorizer {
return false;
}
- // TODO: If resource type if consumer group, then allow it by default
+ // TODO: If resource type is consumer group, then allow it by default
if (resource.resourceType().equals(Group$.MODULE$)) {
if (logger.isDebugEnabled()) {
- logger.debug("If resource type if consumer group, then we allow it by default! Returning true");
+ logger.debug("If resource type is consumer group, then we allow it by default! Returning true");
}
return true;
}