Allow endpoint to be configured (for the tests)

This commit is contained in:
Girish Ramakrishnan
2015-10-27 09:53:32 -07:00
parent d502e04cbd
commit 166257bbdc
2 changed files with 3 additions and 2 deletions

View File

@@ -235,7 +235,8 @@ function setDnsConfig(dnsConfig, callback) {
provider: dnsConfig.provider,
accessKeyId: dnsConfig.accessKeyId,
secretAccessKey: dnsConfig.secretAccessKey,
region: dnsConfig.region || 'us-east-1'
region: dnsConfig.region || 'us-east-1',
endpoint: dnsConfig.endpoint || null
};
settingsdb.set(exports.DNS_CONFIG_KEY, JSON.stringify(credentials), function (error) {