You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/11/13 10:27:40 UTC
[2/2] ambari git commit: AMBARI-13874 On Kerberos Service Config page
"hull host" is shown in KDC category. (ababiichuk)
AMBARI-13874 On Kerberos Service Config page "hull host" is shown in KDC category. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/74a563be
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/74a563be
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/74a563be
Branch: refs/heads/trunk
Commit: 74a563bec01dae31a3746e74f350d02c04284edb
Parents: 0e990b9
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Fri Nov 13 11:24:46 2015 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Fri Nov 13 11:24:46 2015 +0200
----------------------------------------------------------------------
ambari-web/app/models/stack_service.js | 2 +-
ambari-web/app/views/common/quick_view_link_view.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/74a563be/ambari-web/app/models/stack_service.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/stack_service.js b/ambari-web/app/models/stack_service.js
index 86b44ad..1926b9c 100644
--- a/ambari-web/app/models/stack_service.js
+++ b/ambari-web/app/models/stack_service.js
@@ -335,7 +335,7 @@ App.StackService.configCategories = function () {
break;
case 'KERBEROS':
serviceConfigCategories.pushObjects([
- App.ServiceConfigCategory.create({ name: 'KDC', displayName: 'KDC', showHost: true}),
+ App.ServiceConfigCategory.create({ name: 'KDC', displayName: 'KDC'}),
App.ServiceConfigCategory.create({ name: 'Kadmin', displayName: 'Kadmin'}),
App.ServiceConfigCategory.create({ name: 'General', displayName: 'General'})
]);
http://git-wip-us.apache.org/repos/asf/ambari/blob/74a563be/ambari-web/app/views/common/quick_view_link_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/quick_view_link_view.js b/ambari-web/app/views/common/quick_view_link_view.js
index adc1695..23e63ba 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -396,7 +396,7 @@ App.QuickViewLinks = Em.View.extend({
hosts = this.findHosts('ATLAS_SERVER', response);
break;
default:
- if (this.get('content.hostComponents').someProperty('isMaster')) {
+ if (this.getWithDefault('content.hostComponents', []).someProperty('isMaster')) {
hosts = this.findHosts(this.get('content.hostComponents').findProperty('isMaster').get('componentName'), response);
}
break;