Repository: ambari Updated Branches: refs/heads/branch-2.6 2915d563c -> 9079db2d9
AMBARI-22606. Service actions for R4ML not loaded (akovalenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9079db2d Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9079db2d Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9079db2d Branch: refs/heads/branch-2.6 Commit: 9079db2d9909fc8595aec00010ba52e029137dcf Parents: 2915d56 Author: Aleksandr Kovalenko <[email protected]> Authored: Wed Dec 6 21:03:29 2017 +0200 Committer: Aleksandr Kovalenko <[email protected]> Committed: Wed Dec 6 23:58:52 2017 +0200 ---------------------------------------------------------------------- ambari-web/app/controllers/main/service/item.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9079db2d/ambari-web/app/controllers/main/service/item.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/service/item.js b/ambari-web/app/controllers/main/service/item.js index f0d6787..0aa7ae7 100644 --- a/ambari-web/app/controllers/main/service/item.js +++ b/ambari-web/app/controllers/main/service/item.js @@ -234,7 +234,9 @@ App.MainServiceItemController = Em.Controller.extend(App.SupportClientConfigsDow var configsByService = allConfigs.filter(function (c) { return configTypes.contains(App.config.getConfigTagFromFileName(c.get('filename'))); }); - self.get('stepConfigs').pushObject(App.config.createServiceConfig(serviceName, [], configsByService)); + if (App.config.get('preDefinedServiceConfigs').someProperty('serviceName', serviceName)) { + self.get('stepConfigs').pushObject(App.config.createServiceConfig(serviceName, [], configsByService)); + } }); self.set('isServiceConfigsLoaded', true);
