Fix checkA

This commit is contained in:
Girish Ramakrishnan 2015-09-29 20:04:08 -07:00
parent e0926d1f92
commit 10a51cf09d
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ Cloudron.prototype.checkA = function (callback) {
if (error) return callback(error);
if (records.length !== 1) return callback(new Error('Got ' + JSON.stringify(records) + ' A records. Expecting 1 length array'));
if (records[0][0] !== that._box.ip) return callback(new Error('Bad A record. ' + records[0][0]));
if (records[0] !== that._box.ip) return callback(new Error('Bad A record. ' + records[0] + '. Expecting ' + that._box.ip));
callback();
});