瀏覽代碼

AMBARI-5634. Some components of Storm were not started after added of Nagios and Ganglia. (akovalenko)

Aleksandr Kovalenko 11 年之前
父節點
當前提交
8d6756eb83
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ambari-web/app/models/service_config.js

+ 2 - 2
ambari-web/app/models/service_config.js

@@ -616,9 +616,9 @@ App.ServiceConfigProperty = Ember.Object.extend({
     } else {
       var mPoint = allMountPoints[0].mountpoint;
       if (mPoint === "/") {
-        mPoint = this.get('defaultDirectory') + "\n";
+        mPoint = this.get('defaultDirectory');
       } else {
-        mPoint = mPoint + this.get('defaultDirectory') + "\n";
+        mPoint = mPoint + this.get('defaultDirectory');
       }
       this.set('value', mPoint);
       this.set('defaultValue', mPoint);