-
Notifications
You must be signed in to change notification settings - Fork 679
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
[Merged by Bors] - Correcting disable-enr-auto-update
flag definition
#2303
Conversation
Nice one @macladson! It seems like a no-brainer that this is correct, but I just wanted to double-check with @AgeManning in case he's doing anything funky :) |
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.
Looks good, pending CI and a thumbs from Age.
I think we could remove the takes_value
call all together and achieve the same thing, but I'm not opposed to the explicitness.
ahah yeah. I've had this as a diff in my local branches for ages, just never committed. I think we should remove the entire line, its a bit cleaner. Otherwise lgtm |
Nice, I've removed the line. I only kept it in because I saw some other flags where it was explicit. |
Noting that this is a breaking API change to the CLI, which we should highlight in the next release (which should be v1.3.0) |
bors r+ |
## Issue Addressed N/A ## Proposed Changes Correct the `disable-enr-auto-update` boolean flag so that it no longer requires a value. Previously it would require a value which was never used. ## Additional Info Flag is read here: https://github.com/sigp/lighthouse/blob/unstable/beacon_node/src/config.rs#L585-L587
Pull request successfully merged into unstable. Build succeeded: |
disable-enr-auto-update
flag definitiondisable-enr-auto-update
flag definition
Issue Addressed
N/A
Proposed Changes
Correct the
disable-enr-auto-update
boolean flag so that it no longer requires a value.Previously it would require a value which was never used.
Additional Info
Flag is read here: https://github.com/sigp/lighthouse/blob/unstable/beacon_node/src/config.rs#L585-L587