Browse Source

AMBARI-6521. Hostname case sensitivity.(xiwang)

Xi Wang 11 years ago
parent
commit
e5d2cf5929
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/controllers/wizard/step2_controller.js

+ 1 - 1
ambari-web/app/controllers/wizard/step2_controller.js

@@ -65,7 +65,7 @@ App.WizardStep2Controller = Em.Controller.extend({
    * @type {string[]}
    */
   hostNames: function () {
-    return this.get('content.installOptions.hostNames');
+    return this.get('content.installOptions.hostNames').toLowerCase();
   }.property('content.installOptions.hostNames'),
 
   /**