mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-14 16:42: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_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…
Add table
Reference in a new issue