-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
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
Can't run example from Quick Start Guide #67
Comments
Can you try running it again, but without the |
Same result (minus writing to consul) as with the flag. Thanks! On Thu, Mar 24, 2016 at 5:57 PM, Calvin Leung Huang < notifications@github.com [notifications@github.com] > wrote: — |
Adding example:
Is it having an issue parsing the config when it fetches it from Consul? |
Looking at the config in Consul:
|
The Consul ACL token is not being passed along for reads. When I export the ENV variable TOKEN, it works as expected.
|
You're right, it looks like /lib/config_reader.js#L17 is using |
Other locations:
If you want, I can create a pull request and use utils/config_seeder.js as the example. |
The changes has been released on v0.12.9 I did not change |
It works. Thanks guys! |
I'm just trying to run the example from your quick start guide. So I'm pointing at your test repository and my instance of Consul.
I get:
I look in Consul and the config for git2consul is there but I do not see any of the keys for sample_configuration. I've validated the JSON in /tmp/git2consul.json and it's valid.
Before I try different versions of node or git2consul or reverse engineering, do you have any suggestions? Thanks!
The text was updated successfully, but these errors were encountered: