|
|
@ -16,7 +16,7 @@ module.exports = {
|
|
|
|
callback(null, aliveIpObj.host, 4)
|
|
|
|
callback(null, aliveIpObj.host, 4)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
log.info(`----- ${action}: ${hostname}, no alive ip${target}, tester:`, tester)
|
|
|
|
log.info(`----- ${action}: ${hostname}, no alive ip${target}, tester: { "ready": ${tester.ready}, "backupList": ${JSON.stringify(tester.backupList)} }`)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dns.lookup(hostname).then(ip => {
|
|
|
|
dns.lookup(hostname).then(ip => {
|
|
|
|