AMBARI-8379. Falcon lineage needs changes to startup.properties (alejandro)
diff --git a/ambari-web/app/models/service_config.js b/ambari-web/app/models/service_config.js
index 955d38b..0e5e866 100644
--- a/ambari-web/app/models/service_config.js
+++ b/ambari-web/app/models/service_config.js
@@ -664,9 +664,9 @@
break;
case '*.falcon.graph.storage.directory':
case '*.falcon.graph.serialize.path':
- components = masterComponentHostsInDB.findProperty('componentName', 'FALCON_SERVER');
- components.hosts.forEach(function (host) {
- setOfHostNames.push(host.hostName);
+ components = masterComponentHostsInDB.filterProperty('component', 'FALCON_SERVER');
+ components.forEach(function (component) {
+ setOfHostNames.push(component.hostName);
}, this);
break;
case 'log.dirs':