Skip to content
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

config_dir giving an error with 0.5rc1 #629

Closed
darron opened this issue Jan 23, 2015 · 4 comments
Closed

config_dir giving an error with 0.5rc1 #629

darron opened this issue Jan 23, 2015 · 4 comments

Comments

@darron
Copy link
Contributor

darron commented Jan 23, 2015

Sourcing config file. ==> Error decoding '/etc/consul/config.json': Config has invalid keys: config_dir

Easy fix on my end - but not expected and didn't see that change in the CHANGELOG.

It does work on the command line as -config-dir - was it just an accident it didn't error out before?

Consul v0.5.0rc1-2-g1908701.rc1 (190870179a39b7d4ac3a74e80374dbe9a5ed159c)
Consul Protocol: 2 (Understands back to: 1)
darron added a commit to darron/consul-cookbook that referenced this issue Jan 23, 2015
@ryanuber
Copy link
Member

@darron was this working before? I do not see where a config_dir was supported in the code. Previously consul would have silently ignored this, but in 0.5.0 we are adding a more strict config checker which catches unknown config keys.

@ryanuber
Copy link
Member

@darron related: #71

@ryanuber
Copy link
Member

I'm going to close this out since it sounds like you figured it out, and it was just a mistake on our end that this didn't error before. Thanks!

@darron
Copy link
Contributor Author

darron commented Jan 23, 2015

Yes - it just looks like it just didn't error before - thanks for checking into it!

duckhan pushed a commit to duckhan/consul that referenced this issue Oct 24, 2021
duckhan pushed a commit to duckhan/consul that referenced this issue Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants