We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm unable to get information from my consul server.. here is what I'm doing
var CONSUL_HOST, consul, opts; CONSUL_HOST = "myconsulserver.com"; opts = { host: CONSUL_HOST, secure: false }; consul = require('consul')(opts); consul.kv.get("/code/deploy/sha", function(err, data) { console.log(err); return console.log(data); });
I get an error like this:
{ [Error: consul: kv.get: moved permanently] isPapi: true, isResponse: true, message: 'consul: kv.get: moved permanently' }
The text was updated successfully, but these errors were encountered:
oops.. this is a non issue. the key should not being with a /.. It should be "code/deploy/sha"
/
Sorry, something went wrong.
No branches or pull requests
I'm unable to get information from my consul server.. here is what I'm doing
I get an error like this:
The text was updated successfully, but these errors were encountered: