فهرست منبع

AMBARI-4626 "Capacity Scheduler" section in Ambari does not allow ACL value of "user group" with spaces. (atkach)

atkach 11 سال پیش
والد
کامیت
8b90b39bf2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ambari-web/app/utils/config.js

+ 1 - 1
ambari-web/app/utils/config.js

@@ -975,7 +975,7 @@ App.config = Em.Object.create({
     var complexConfigName = this.get('complexConfigs').findProperty('filename', filename).name;
     var configsTextarea = configs.findProperty('name', complexConfigName);
     if (configsTextarea) {
-      var properties = configsTextarea.get('value').replace(/( |\n)+/g, '\n').split('\n');
+      var properties = configsTextarea.get('value').split('\n');
 
       properties.forEach(function (_property) {
         var name, value;