git2consul
Advanced tools
Comparing version 0.12.8 to 0.12.9
@@ -0,1 +1,5 @@ | ||
v0.12.9 | ||
* Use `global.token` on config_reader.js [GH-67] | ||
v0.12.8 | ||
@@ -2,0 +6,0 @@ |
@@ -1,1 +0,1 @@ | ||
["172.17.5.132:8300"] | ||
["172.17.5.242:8300"] |
@@ -17,4 +17,4 @@ var consul = require('consul')({'host': global.endpoint, 'port': global.port, 'secure':global.secure}); | ||
if (process.env.TOKEN) { | ||
params = _.extend(params, {'token': process.env.TOKEN}) | ||
if (global.token) { | ||
params = _.extend(params, {'token': global.token}) | ||
} | ||
@@ -21,0 +21,0 @@ consul.kv.get(params, function(err, item) { |
@@ -5,3 +5,3 @@ { | ||
"license": "Apache-2.0", | ||
"version": "0.12.8", | ||
"version": "0.12.9", | ||
"contributors": [ | ||
@@ -8,0 +8,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
28
28412277
61
3727