Repository: ranger Updated Branches: refs/heads/master dc31b21fc -> 8944052fc
Ranger-1518:Do some code inprovement Signed-off-by: zhangqiang2 <zhangqia...@zte.com.cn> Project: http://git-wip-us.apache.org/repos/asf/ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/8944052f Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/8944052f Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/8944052f Branch: refs/heads/master Commit: 8944052fc67d262be0c2677f7d0988679a683b88 Parents: dc31b21 Author: zhangqiang2 <zhangqia...@zte.com.cn> Authored: Mon Apr 17 13:45:17 2017 +0800 Committer: zhangqiang2 <zhangqia...@zte.com.cn> Committed: Tue Apr 18 21:03:18 2017 -0400 ---------------------------------------------------------------------- .../ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ranger/blob/8944052f/ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java ---------------------------------------------------------------------- diff --git a/ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java b/ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java index 070a39b..9ce4abf 100644 --- a/ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java +++ b/ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java @@ -372,7 +372,7 @@ public class PolicyMgrUserGroupBuilder implements UserGroupSink { // If the rest call to ranger admin fails, // propagate the failure to the caller for retry in next sync cycle. if (addUserGroupInfo(ugInfo) == null) { - String msg = "Failed to add add user group info"; + String msg = "Failed to add user group info"; LOG.error(msg); throw new Exception(msg); } @@ -399,7 +399,7 @@ public class PolicyMgrUserGroupBuilder implements UserGroupSink { // If the rest call to ranger admin fails, // propagate the failure to the caller for retry in next sync cycle. if (addUserGroupInfo(ugInfo) == null) { - String msg = "Failed to add add user group info"; + String msg = "Failed to add user group info"; LOG.error(msg); throw new Exception(msg); }