fix: set var

This commit is contained in:
Mario Garrido 2025-07-04 16:11:16 +01:00
parent 23f5b0cefd
commit 193e1ebfca

View file

@ -13,6 +13,7 @@ class GameDigMonitorType extends MonitorType {
async check(monitor, heartbeat, server) {
heartbeat.status = DOWN;
let host = monitor.hostname;
if (net.isIP(host) === 0) {
host = await this.resolveHostname(host);
}