Commit a017b5da authored by nanahira's avatar nanahira

fix

parent 986e6e82
Pipeline #328 failed with stages
in 4 minutes and 18 seconds
......@@ -127,7 +127,7 @@ class Checker {
}
async checkRecord(recordInfo: DomainRecordInfo) {
const record = recordInfo.record;
this.message(`${this.id} => Checking record ${record.RR}.${this.config.domain} ${record.Value}:${recordInfo.port} with old status of ${record.Status}.`)
this.message(`Checking record ${record.RR}.${this.config.domain} ${record.Value}:${recordInfo.port} with old status of ${record.Status}.`)
const status = record.Status;
const targetStatus = (await this.checkNode(record.Value, recordInfo.port)) ? "ENABLE" : "DISABLE";
if (status != targetStatus) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment