-
-
Notifications
You must be signed in to change notification settings - Fork 244
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_config: Remove the default value of "server" param #424
consul_config: Remove the default value of "server" param #424
Conversation
@vsudilov Thanks for your contribution! P.s. It should be enough just to remove |
Codecov Report
@@ Coverage Diff @@
## master #424 +/- ##
==========================================
+ Coverage 58.38% 62.82% +4.44%
==========================================
Files 7 7
Lines 346 347 +1
==========================================
+ Hits 202 218 +16
+ Misses 144 129 -15
Continue to review full report at Codecov.
|
Yep, agree that's a much better solution -- commit added. |
We need that to avoid undesired "none" values rendered to the Consul config.
1) "server" is false by default now 2) "bootstrap_expect" is needed for server mode only
NB: The TravisCI run reveals the very important issue which happens after the removal the default value of Since we access this parameter here, it becomes defined with the default value @johnbellone Please, review this PR. |
Thanks :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
closes #423
Wasn't sure how you'd prefer to add tests, since server:false is explicitly set in
.kitchen.yml
. Happy to iterate on that as needed.