diff --git a/src/dns.js b/src/dns.js index f6bdb440e..43a9066f1 100644 --- a/src/dns.js +++ b/src/dns.js @@ -154,7 +154,7 @@ async function upsertDnsRecords(subdomain, domain, type, values) { assert.strictEqual(typeof type, 'string'); assert(Array.isArray(values)); - debug(`upsertDNSRecord: location ${subdomain} on domain ${domain} of type ${type} with values ${JSON.stringify(values)}`); + debug(`upsertDnsRecord: location ${subdomain} on domain ${domain} of type ${type} with values ${JSON.stringify(values)}`); const domainObject = await domains.get(domain); await api(domainObject.provider).upsert(domainObject, subdomain, type, values); @@ -166,7 +166,7 @@ async function removeDnsRecords(subdomain, domain, type, values) { assert.strictEqual(typeof type, 'string'); assert(Array.isArray(values)); - debug('removeDNSRecords: %s on %s type %s values', subdomain, domain, type, values); + debug('removeDnsRecords: %s on %s type %s values', subdomain, domain, type, values); const domainObject = await domains.get(domain); const [error] = await safe(api(domainObject.provider).del(domainObject, subdomain, type, values)); diff --git a/src/dns/hetzner.js b/src/dns/hetzner.js index 8049d3d83..ae86e72e8 100644 --- a/src/dns/hetzner.js +++ b/src/dns/hetzner.js @@ -64,11 +64,10 @@ async function getZoneRecords(domainConfig, zone, name, type) { let page = 1, matchingRecords = []; - debug(`getInternal: getting dns records of ${zone.name} with ${name} and type ${type}`); + debug(`getZoneRecords: getting dns records of ${zone.name} with ${name} and type ${type}`); const perPage = 50; - // eslint-disable-next-line no-constant-condition while (true) { const [error, response] = await safe(superagent.get(`${ENDPOINT}/records`) .set('Auth-API-Token', domainConfig.token)