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/05/20 16:35:09 UTC

incubator-ranger git commit: Trivial Spelling fix II

Repository: incubator-ranger
Updated Branches:
  refs/heads/master 92e798a65 -> 0102cdbde


Trivial Spelling fix II


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

Branch: refs/heads/master
Commit: 0102cdbdef6f7c4d051f34fa9089f150c88c6c36
Parents: 92e798a
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Fri May 20 17:35:00 2016 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Fri May 20 17:35:00 2016 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/ranger/common/ServiceUtil.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/0102cdbd/security-admin/src/main/java/org/apache/ranger/common/ServiceUtil.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/org/apache/ranger/common/ServiceUtil.java b/security-admin/src/main/java/org/apache/ranger/common/ServiceUtil.java
index 0706041..4343c45 100644
--- a/security-admin/src/main/java/org/apache/ranger/common/ServiceUtil.java
+++ b/security-admin/src/main/java/org/apache/ranger/common/ServiceUtil.java
@@ -1337,12 +1337,12 @@ public class ServiceUtil {
 			service = svcStore.getServiceByName(serviceName);
 		} catch (Exception e) {
 			LOG.error("Requested Service not found. serviceName=" + serviceName);
-			throw restErrorUtil.createRESTException("Serivce:" + serviceName + " not found",  
+			throw restErrorUtil.createRESTException("Service:" + serviceName + " not found",  
 					MessageEnums.DATA_NOT_FOUND);
 		}
 		if(service==null){
 			LOG.error("Requested Service not found. serviceName=" + serviceName);
-			throw restErrorUtil.createRESTException("Serivce:" + serviceName + " not found",
+			throw restErrorUtil.createRESTException("Service:" + serviceName + " not found",
 					MessageEnums.DATA_NOT_FOUND);
 		}
 		if(!service.getIsEnabled()){