Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lloyd committed Sep 25, 2013
1 parent 4c155db commit 7276d7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/dns.js
Expand Up @@ -80,7 +80,6 @@ exports.deleteRecord = function (hostname, cb) {
if (!hostname) throw new Error('No hostname provided'); if (!hostname) throw new Error('No hostname provided');


// split hostname into two (e.g. blah.example.org -> blah and example.org) // split hostname into two (e.g. blah.example.org -> blah and example.org)
var subdomain = hostname.split('.')[0];
var domain = hostname.split('.').slice(1).join('.'); var domain = hostname.split('.').slice(1).join('.');


aws.niceRoute53.zoneInfo(domain, function(err, zoneInfo) { aws.niceRoute53.zoneInfo(domain, function(err, zoneInfo) {
Expand Down

0 comments on commit 7276d7e

Please sign in to comment.