mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-13 08:02:35 +02:00
Fix eslint errors for var definitions
This commit is contained in:
parent
fa1dfe1626
commit
144b8f1b4c
1 changed files with 3 additions and 2 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue