Browse Source

AMBARI-492. make support for os check a bit more robust. Fix for patch (Contributed by Hitesh)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1347329 13f79535-47bb-0310-9956-ffa450edef68
Vikram Dixit K 13 years ago
parent
commit
5f3d27e66e
2 changed files with 3 additions and 1 deletions
  1. 2 0
      CHANGES.txt
  2. 1 1
      hmc/php/frontend/addNodes/verifyAndUpdateNodesInfo.php

+ 2 - 0
CHANGES.txt

@@ -8,6 +8,8 @@ Release 0.1.x - unreleased
 
   AMBARI-492. make support for os check a bit more robust (Hitesh via Vikram)
 
+  AMBARI-492. make support for os check a bit more robust (Hitesh via Vikram)
+
   AMBARI-491. Service Reconfiguration screens should respect the "reconfigurable" attributes set in ConfigProperties table (Yusaku via Vikram)
 
   AMBARI-490. Highlight the required parameters in Step 6 "Custom Config" of the Cluster Init Wizard (Yusaku via Vikram)

+ 1 - 1
hmc/php/frontend/addNodes/verifyAndUpdateNodesInfo.php

@@ -162,7 +162,7 @@ function populateVal ($line, $count, $arr)
     }
     $lline = strtolower(trim($line));
     if ($lline == "release") {
-      continue;
+      break;
     }
     $matches = array();
     if (preg_match("/([0-9]+)(\.[0-9]+)?/", $lline, $matches) > 0) {