Skip to content

Commit

Permalink
Bug 1413516: Correctly handle suffix k in usageValue filter
Browse files Browse the repository at this point in the history
  • Loading branch information
spadgett committed Feb 10, 2017
1 parent 95fab83 commit 8427b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/scripts/filters/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ angular.module('openshiftConsole')
multiplier = Math.pow(1000, 2);
break;
case 'K':
case 'k':
multiplier = 1000;
break;
case 'm':
Expand Down
1 change: 1 addition & 0 deletions dist/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -14747,6 +14747,7 @@ e = Math.pow(1e3, 2);
break;

case "K":
case "k":
e = 1e3;
break;

Expand Down

0 comments on commit 8427b2e

Please sign in to comment.