diff --git a/auth-agents-common/src/main/java/org/apache/atlas/plugin/util/RangerPolicyDeltaUtil.java b/auth-agents-common/src/main/java/org/apache/atlas/plugin/util/RangerPolicyDeltaUtil.java index 08f5498c65..340dcbec15 100644 --- a/auth-agents-common/src/main/java/org/apache/atlas/plugin/util/RangerPolicyDeltaUtil.java +++ b/auth-agents-common/src/main/java/org/apache/atlas/plugin/util/RangerPolicyDeltaUtil.java @@ -72,7 +72,7 @@ public static List applyDeltas(List policies, List(policies); for (RangerPolicyDelta delta : deltas) { - if (!serviceType.equals(delta.getPolicyServiceName())) { + if (!serviceType.equals(delta.getServiceType())) { continue; }