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

[Merged by Bors] - Correcting disable-enr-auto-update flag definition #2303

Closed
wants to merge 2 commits into from

Conversation

macladson
Copy link
Member

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

@CLAassistant
Copy link

CLAassistant commented Apr 7, 2021

CLA assistant check
All committers have signed the CLA.

@paulhauner
Copy link
Member

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 :)

@paulhauner paulhauner added ready-for-review The code is ready for review bug Something isn't working labels Apr 7, 2021
Copy link
Member

@paulhauner paulhauner left a 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.

@AgeManning
Copy link
Member

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

@macladson
Copy link
Member Author

Nice, I've removed the line. I only kept it in because I saw some other flags where it was explicit.

@michaelsproul
Copy link
Member

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)

@michaelsproul michaelsproul added backwards-incompat Backwards-incompatible API change ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Apr 8, 2021
@AgeManning
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Apr 11, 2021
## 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
@bors bors bot changed the title Correcting disable-enr-auto-update flag definition [Merged by Bors] - Correcting disable-enr-auto-update flag definition Apr 12, 2021
@bors bors bot closed this Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-incompat Backwards-incompatible API change bug Something isn't working ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants