Skip to content

Commit 07653ad

Browse files
author
OpenShift Bot
authored
Merge pull request #902 from spadgett/cpu-donut-fix
Merged by openshift-bot
2 parents be99353 + 90783eb commit 07653ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/scripts/directives/podMetrics.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ angular.module('openshiftConsole')
213213
return ConversionService.bytesToMiB(usageValueFilter(memLimit));
214214
}
215215
break;
216-
case 'cpu/usage':
216+
case 'cpu/usage_rate':
217217
var cpuLimit = getCPULimit(container);
218218
if (cpuLimit) {
219219
// Convert cores to millicores.

dist/scripts/scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10476,7 +10476,7 @@ var c = w(b);
1047610476
if (c) return g.bytesToMiB(i(c));
1047710477
break;
1047810478

10479-
case "cpu/usage":
10479+
case "cpu/usage_rate":
1048010480
var d = x(b);
1048110481
if (d) return _.round(1e3 * i(d));
1048210482
}

0 commit comments

Comments
 (0)