Skip to content

Commit

Permalink
Correct variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
brghena committed May 20, 2016
1 parent f8272dd commit e303fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/sensu-configure-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var output = JSON.parse(fs.readFileSync(CONFIG_FILENAME));

if ('client' in output) {
getmac.getMac(function (err, addr) {
var macaddr = adddr.replace(/[^A-Z0-9-]/ig, '');
var macaddr = addr.replace(/[^A-Z0-9-]/ig, '');
var name = 'swarm-gateway-' + macaddr;

output['client']['name'] = name;
Expand Down

0 comments on commit e303fba

Please sign in to comment.