fix: set var
This commit is contained in:
parent
23f5b0cefd
commit
193e1ebfca
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user