Skip to content

Commit b6a007a

Browse files
committed
fix ordering of processes table
1 parent e3f3ee1 commit b6a007a

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

cmd/internal/pages/assets/js/containers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,14 +642,14 @@ function drawProcesses(isRoot, rootDir, processInfo) {
642642
elements.push(processInfo[i].status);
643643
elements.push(processInfo[i].running_time);
644644
elements.push(processInfo[i].cmd);
645+
elements.push(processInfo[i].psr);
645646
if (isRoot) {
646647
var cgroup = processInfo[i].cgroup_path;
647648
// Use the raw cgroup link as it works for all containers.
648649
var cgroupLink = '<a href="' + rootDir + 'containers/' + cgroup + '">' +
649650
cgroup.substr(0, 30) + ' </a>';
650651
elements.push({v: cgroup, f: cgroupLink});
651652
}
652-
elements.push(processInfo[i].psr);
653653
data.push(elements);
654654
}
655655
drawTable(titles, titleTypes, data, 'processes-top', 25, sortIndex);

0 commit comments

Comments
 (0)