You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2014/09/05 04:41:47 UTC

git commit: ARGUS-30:Removed Agent from RepoType list

Repository: incubator-argus
Updated Branches:
  refs/heads/master 31b101b3e -> bcc71ef22


ARGUS-30:Removed Agent from RepoType list

Signed-off-by: sneethiraj <sn...@apache.org>


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

Branch: refs/heads/master
Commit: bcc71ef225e0d06fe2ac03a3185369ac50696988
Parents: 31b101b
Author: vperiasamy <vp...@hortonworks.com>
Authored: Wed Sep 3 16:37:15 2014 -0400
Committer: sneethiraj <sn...@apache.org>
Committed: Thu Sep 4 22:40:58 2014 -0400

----------------------------------------------------------------------
 .../src/main/webapp/scripts/views/reports/AuditLayout.js          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/bcc71ef2/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
index 63b41f6..20fa460 100644
--- a/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
+++ b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
@@ -286,7 +286,8 @@ define(function(require) {
 								break;
 							case 'Repository Type':
 								var assetTypeList = _.filter(XAEnums.AssetType, function(obj){
-									if(obj.label != XAEnums.AssetType.ASSET_UNKNOWN.label)
+									if(obj.label != XAEnums.AssetType.ASSET_UNKNOWN.label 
+												&& obj.label != XAEnums.AssetType.ASSET_AGENT.label)
 										return obj;
 								});
 								callback(XAUtils.hackForVSLabelValuePairs(assetTypeList));