Browse Source

AMBARI-1143. tmpfs filesystem being added to the list in the dir used by Ambari. (Arun Kandregula via yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1431831 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 năm trước cách đây
mục cha
commit
fc9afae4dd
2 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 3 0
      CHANGES.txt
  2. 1 1
      ambari-web/app/models/service_config.js

+ 3 - 0
CHANGES.txt

@@ -675,6 +675,9 @@ AMBARI-666 branch (unreleased changes)
 
   BUG FIXES
 
+  AMBARI-1143. tmpfs filesystem being added to the list in the dir used by
+  Ambari. (Arun Kandregula via yusaku) 
+
   AMBARI-1142. On Notification Popup, clicking "go to nagios UI" doesn't
   load nagios UI. (Arun Kandregula via yusaku)
 

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

@@ -257,7 +257,7 @@ App.ServiceConfigProperty = Ember.Object.extend({
       mountPointAsRoot = mountPointsPerHost.findProperty('mountpoint', '/');
 
       mountPointsPerHost = mountPointsPerHost.filter(function (mPoint) {
-        return !(['/', '/home', '/boot'].contains(mPoint.mountpoint) || ['tmpfs', 'vboxsf'].contains(mPoint.type));
+        return !(['/', '/home', '/boot'].contains(mPoint.mountpoint) || ['devtmpfs', 'tmpfs', 'vboxsf'].contains(mPoint.type));
       });
 
       mountPointsPerHost.forEach(function (mPoint) {