浏览代码

AMBARI-6521. Hostname case sensitivity.(xiwang)

Xi Wang 11 年之前
父节点
当前提交
e5d2cf5929
共有 1 个文件被更改,包括 1 次插入1 次删除
  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'),
 
   /**