Browse Source

AMBARI-6521. Hostname case sensitivity.(xiwang)

Xi Wang 11 năm trước cách đây
mục cha
commit
e5d2cf5929
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'),
 
   /**