ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [04/41] ambari git commit: AMBARI-20668 Component identities is not updated in Add Service Wizard (akovalenko)
Date Thu, 06 Apr 2017 09:33:25 GMT
AMBARI-20668 Component identities is not updated in Add Service Wizard (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/14d2581d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/14d2581d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/14d2581d

Branch: refs/heads/branch-3.0-perf
Commit: 14d2581d8423db699a283c7cfd26dbce9db8b628
Parents: 112f7d4
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Tue Apr 4 14:50:40 2017 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Thu Apr 6 12:32:56 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/wizard/addSecurityConfigs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/14d2581d/ambari-web/app/mixins/wizard/addSecurityConfigs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/wizard/addSecurityConfigs.js b/ambari-web/app/mixins/wizard/addSecurityConfigs.js
index 2e6d3bc..e8da47f 100644
--- a/ambari-web/app/mixins/wizard/addSecurityConfigs.js
+++ b/ambari-web/app/mixins/wizard/addSecurityConfigs.js
@@ -390,7 +390,7 @@ App.AddSecurityConfigs = Em.Mixin.create({
         var prop = identity[item];
 
         // compare ui rendered config against identity with `configuration attribute` (Most
of the identities have `configuration attribute`)
-        var isIdentityWithConfig =  (prop.configuration && prop.configuration.split('/')[0]
=== config.filename && prop.configuration.split('/')[1] === config.name);
+        var isIdentityWithConfig = (prop.configuration && prop.configuration.split('/')[0]
=== App.config.getConfigTagFromFileName(config.filename) && prop.configuration.split('/')[1]
=== config.name);
 
         // compare ui rendered config against identity without `configuration attribute`
(For example spnego principal and keytab)
         var isIdentityWithoutConfig = (!prop.configuration && identity.name === config.name.split('_')[0]
&& item === config.name.split('_')[1]);


Mime
View raw message