incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject 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...
Date Tue, 02 Jul 2013 06:19:44 GMT
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,



Mime
View raw message