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

Consul expects prefix rather than keyprefix in watch config #89

Merged
merged 1 commit into from
Mar 1, 2015

Conversation

codesplicer
Copy link
Contributor

Consul expects the 'prefix' parameter rather than 'keyprefix' in watch definitions. Test has been updated too.

@solarkennedy
Copy link
Contributor

I don't think so?

On type "keyprefix" the key should be "keyprefix" according to the docs:
http://www.consul.io/docs/agent/watches.html

@codesplicer
Copy link
Contributor Author

The 'type' of watch is keyprefix yes, but to specify the actual prefix to watch, the parameter is 'prefix', if you scroll further down to the example config. I've also tested this in a vagrant machine running consul 0.5.0 and confirmed as such.

@solarkennedy
Copy link
Contributor

Ah! I understand. You are right.

Thank you!

solarkennedy added a commit that referenced this pull request Mar 1, 2015
Consul expects prefix rather than keyprefix in watch config
@solarkennedy solarkennedy merged commit 9aeb67a into voxpupuli:master Mar 1, 2015
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

Successfully merging this pull request may close these issues.

2 participants