diff options
author | ilyam8 <ilya@netdata.cloud> | 2022-07-18 23:12:39 +0300 |
---|---|---|
committer | ilyam8 <ilya@netdata.cloud> | 2022-07-18 23:12:39 +0300 |
commit | 41330fb3d32d81040b4eaf9bb5931d9279a5062d (patch) | |
tree | 9eb2179f4c73b01e8425cf466e083eb0d26fe5ba | |
parent | 37f78c912e797eaff00390d89713a96646822c82 (diff) |
fix eslint
-rw-r--r-- | web/gui/dashboard_info.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/web/gui/dashboard_info.js b/web/gui/dashboard_info.js index 218e7c8735..1f49a4b944 100644 --- a/web/gui/dashboard_info.js +++ b/web/gui/dashboard_info.js @@ -3177,8 +3177,7 @@ netdataDashboard.context = { 'k8s.cgroup.net_net': { mainheads: [ - function (os, id) { - void (os); + function (_, id) { var iface; try { iface = ' ' + id.substring(id.lastIndexOf('.net_') + 5, id.length); @@ -3188,8 +3187,7 @@ netdataDashboard.context = { return netdataDashboard.gaugeChart('Received' + iface, '12%', 'received'); }, - function (os, id) { - void (os); + function (_, id) { var iface; try { iface = ' ' + id.substring(id.lastIndexOf('.net_') + 5, id.length); |