You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2013/07/02 08:19:44 UTC
svn commit: r1498796 [2/2] - in /incubator/ambari/trunk:
ambari-agent/src/main/python/ambari_agent/ ambari-agent/src/test/python/
ambari-server/src/main/java/org/apache/ambari/server/agent/
ambari-server/src/test/java/org/apache/ambari/server/agent/ am...
Modified: incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js?rev=1498796&r1=1498795&r2=1498796&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js (original)
+++ incubator/ambari/trunk/ambari-web/app/controllers/wizard/step3_controller.js Tue Jul 2 06:19:44 2013
@@ -713,6 +713,12 @@ App.WizardStep3Controller = Em.Controlle
console.log("last_agent_env is missing for " + host.Hosts.host_name + ". Skipping host check.");
return;
}
+
+ // TODO - Remove when correct parsing code in place.
+ if (!host.Hosts.last_agent_env.paths) {
+ return;
+ }
+
host.Hosts.last_agent_env.paths.forEach(function(path){
var parsedPath = {
name: path.name,