fix for the title of qemu/kvm cgroup titles
Costa Tsaousis committed
Aug 16, 2016 at 17:49 UTC
5e82e3b1d8ed1bc484ae1d7523a8bcbc2f502913
1 file changed
+2
-2
web/index.html
+2
-2
@@ -1491,7 +1491,7 @@ var menuData = {
1491
info: undefined
1492
},
1493
1494
- 'cgroup-vm': {
1494
+ 'cgqemu': {
1495
title: 'VM',
1496
info: undefined
1497
},
@@ -2024,7 +2024,7 @@ function enrichChartData(chart) {
2024
case 'cgroup':
2025
chart.menu = chart.type;
2026
if(chart.id.match(/.*[\._\/-:]qemu[\._\/-:]*/) || chart.id.match(/.*[\._\/-:]kvm[\._\/-:]*/))
2027
- chart.menu_pattern = 'cgroup-vm';
2027
+ chart.menu_pattern = 'cgqemu';
2028
else
2029
chart.menu_pattern = 'cgroup';
2030
break;