Fix eslint errors for var definitions

pull/898/head
Matthew Macdonald-Wallace 3 years ago
parent fa1dfe1626
commit 144b8f1b4c

@ -42,8 +42,9 @@ class Prometheus {
monitor_hostname: monitor.hostname, monitor_hostname: monitor.hostname,
monitor_port: monitor.port monitor_port: monitor.port
}; };
for (var t in monitor.tags) {
this.monitorLabelValues[k] = monitor.tags[k]; for (let tag in monitor.tags) {
this.monitorLabelValues[tag] = monitor.tags[tag];
} }
} }

Loading…
Cancel
Save