]> arthur.barton.de Git - netdata.git/commitdiff
fix for the title of qemu/kvm cgroup titles
authorCosta Tsaousis <costa@tsaousis.gr>
Tue, 16 Aug 2016 14:49:07 +0000 (17:49 +0300)
committerCosta Tsaousis <costa@tsaousis.gr>
Tue, 16 Aug 2016 14:49:07 +0000 (17:49 +0300)
web/index.html

index 041290b895e95dfd8843c49cf7faf4be44fb707b..942ea592120de0f4525e2117bf9fda32021a4d16 100644 (file)
@@ -1491,7 +1491,7 @@ var menuData = {
         info: undefined
     },
 
-    'cgroup-vm': {
+    'cgqemu': {
         title: 'VM',
         info: undefined
     },
@@ -2024,7 +2024,7 @@ function enrichChartData(chart) {
         case 'cgroup':
             chart.menu = chart.type;
             if(chart.id.match(/.*[\._\/-:]qemu[\._\/-:]*/) || chart.id.match(/.*[\._\/-:]kvm[\._\/-:]*/))
-                chart.menu_pattern = 'cgroup-vm';
+                chart.menu_pattern = 'cgqemu';
             else
                 chart.menu_pattern = 'cgroup';
             break;