ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject svn commit: r1448921 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/utils/helper.js
Date Fri, 22 Feb 2013 08:02:49 GMT
Author: yusaku
Date: Fri Feb 22 08:02:48 2013
New Revision: 1448921

URL: http://svn.apache.org/r1448921
Log:
AMBARI-1462. PB (petabytes) is shown as undefined. (yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/app/utils/helper.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1448921&r1=1448920&r2=1448921&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Fri Feb 22 08:02:48 2013
@@ -342,6 +342,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1462. PB (petabytes) is shown as "undefined". (yusaku)
+
  AMBARI-1455. Setting App.testMode=true, alwaysGoToInstaller=true does not
  render the Dashboard properly upon login. (yusaku)
 

Modified: incubator/ambari/trunk/ambari-web/app/utils/helper.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/utils/helper.js?rev=1448921&r1=1448920&r2=1448921&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/utils/helper.js (original)
+++ incubator/ambari/trunk/ambari-web/app/utils/helper.js Fri Feb 22 08:02:48 2013
@@ -132,7 +132,7 @@ Number.prototype.bytesToSize = function 
   }
 
   var value = this;
-  var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
+  var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB'];
   var posttxt = 0;
   if (this == 0) return 'n/a';
   while (value >= 1024) {



Mime
View raw message