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

internal/flags: fix loading env vars for custom flags #28117

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

karalabe
Copy link
Member

@karalabe karalabe commented Sep 14, 2023

Seems custom flags need to be explicitly told to load from env vars.

The added code is just a copy-pasta of how the CLI library does it internally. We might be able to "separate" out the iteration into a method and then just have the rest internally, but figured it's more of a complexity than worth for 3 types.

@karalabe karalabe added this to the 1.13.1 milestone Sep 14, 2023
@karalabe karalabe merged commit ee65462 into ethereum:master Sep 14, 2023
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Nov 22, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 22, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 22, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 22, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 25, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 25, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Nov 25, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Nov 27, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant