Skip to content

Commit

Permalink
Fix eslint errors for var definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
proffalken committed Nov 16, 2021
1 parent fa1dfe1 commit 144b8f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/prometheus.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ class Prometheus {
monitor_hostname: monitor.hostname,
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];
}
}

Expand Down

0 comments on commit 144b8f1

Please sign in to comment.