You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by am...@apache.org on 2017/12/12 15:14:29 UTC

[08/24] ambari git commit: AMBARI-22606. Service actions for R4ML not loaded (akovalenko)

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/1a64ae38
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1a64ae38
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1a64ae38

Branch: refs/heads/branch-feature-AMBARI-22008-isilon
Commit: 1a64ae3867039c134e27c8ba7754baf1ae9328ae
Parents: 2e2f6bd
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Wed Dec 6 21:03:29 2017 +0200
Committer: Attila Magyar <am...@hortonworks.com>
Committed: Tue Dec 12 16:13:57 2017 +0100

----------------------------------------------------------------------
 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/1a64ae38/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 fda0dda..4f53391 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);