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

Don't write out meta parameter when unset #467

Merged
merged 2 commits into from
Feb 4, 2019

Conversation

jarro2783
Copy link
Contributor

For versions of Consul < 1.1.0, setting "meta": {} in the service config doesn't work, because Consul doesn't know about the key. This sets it to undef so that there won't be a meta hash with no keys written out when unspecified.

@bastelfreak
Copy link
Member

thanks!

@bastelfreak bastelfreak merged commit f181170 into voxpupuli:master Feb 4, 2019
@bastelfreak bastelfreak added the bug Something isn't working label Feb 4, 2019
spuder pushed a commit to spuder/puppet-consul that referenced this pull request Feb 25, 2020
Don't write out meta parameter when unset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants