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

etcdmain: fix ignoring of ETCD_CONFIG_FILE env variable #10762

Merged
merged 2 commits into from
Jun 8, 2019
Merged

etcdmain: fix ignoring of ETCD_CONFIG_FILE env variable #10762

merged 2 commits into from
Jun 8, 2019

Conversation

AstolfoKawaii
Copy link

Fixes #10747

Fixes #10747

Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
etcdmain/config.go Outdated Show resolved Hide resolved
Improve readability of ETCD_CONFIG_FILE env variable parsing part
by adding comments and using flags.FlagToEnv function.

Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
Copy link
Contributor

@jingyih jingyih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Thanks for fixing this!

@jingyih
Copy link
Contributor

jingyih commented May 26, 2019

BTW, test failure is unrelated to this PR.

@spzala
Copy link
Member

spzala commented Jun 4, 2019

Re-running the failed build. @jingyih has already fixed the doc related problem in another fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

ETCD_CONFIG_FILE env variable is ignored
4 participants