Reorder dns backend exports

This commit is contained in:
Johannes Zellner
2016-09-15 11:57:25 +02:00
parent 1736d50260
commit cffc6d5fa5
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
'use strict';
exports = module.exports = {
upsert: upsert,
get: get,
del: del,
upsert: upsert,
getChangeStatus: getChangeStatus,
// not part of "dns" interface
@@ -54,7 +54,7 @@ function getHostedZone(dnsConfig, zoneName, callback) {
assert.strictEqual(typeof dnsConfig, 'object');
assert.strictEqual(typeof zoneName, 'string');
assert.strictEqual(typeof callback, 'function');
getZoneByName(dnsConfig, zoneName, function (error, zone) {
if (error) return callback(error);