Fill in the noops in the other backends

This commit is contained in:
Johannes Zellner
2017-01-10 11:13:33 +01:00
parent 9c793f1317
commit b9e0530ced
2 changed files with 20 additions and 2 deletions

View File

@@ -4,7 +4,8 @@ exports = module.exports = {
upsert: upsert,
get: get,
del: del,
waitForDns: waitForDns
waitForDns: waitForDns,
verifyDnsConfig: verifyDnsConfig
};
var assert = require('assert'),
@@ -57,3 +58,11 @@ function waitForDns(domain, value, type, options, callback) {
callback();
}
function verifyDnsConfig(dnsConfig, domain, ip, callback) {
assert.strictEqual(typeof dnsConfig, 'object');
assert.strictEqual(typeof domain, 'string');
assert.strictEqual(typeof ip, 'string');
assert.strictEqual(typeof callback, 'function');
return callback(null);
}