-
-
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
add support for specifying the raft protocol version #425
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me, except setting the default value of raft_protocol
explicitly.
libraries/consul_config.rb
Outdated
@@ -76,6 +76,7 @@ class ConsulConfig < Chef::Resource | |||
attribute(:performance, kind_of: [Hash, Mash]) | |||
attribute(:ports, kind_of: [Hash, Mash]) | |||
attribute(:protocol, kind_of: String) | |||
attribute(:raft_protocol, kind_of: Integer, default: false) |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #425 +/- ##
===========================================
+ Coverage 58.38% 70.89% +12.51%
===========================================
Files 7 7
Lines 346 347 +1
===========================================
+ Hits 202 246 +44
+ Misses 144 101 -43
Continue to review full report at Codecov.
|
@legal90 sounds good - PR updated to remove the default. |
@poblahblahblah Thank you! |
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. |
consul 0.8.0 includes some autopilot features look really nice. In order to enable these you need to specify the raft protocol version.
This change allows us to do that.