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 incomplete proxy config file #4037

Merged
merged 1 commit into from
Dec 22, 2015
Merged

Conversation

xiang90
Copy link
Contributor

@xiang90 xiang90 commented Dec 22, 2015

etcd might generate incomplete proxy config file after a power failure.
It is because we use ioutil.WriteFile. And iotuile.WriteFile does
not call Sync before closing the file.

Fix #3861

/cc @heyitsanthony @gyuho

etcd might generate incomplete proxy config file after a power failure.
It is because we use ioutil.WriteFile. And iotuile.WriteFile does
not call Sync before closing the file.
@gyuho
Copy link
Contributor

gyuho commented Dec 22, 2015

LGTM!

@heyitsanthony
Copy link
Contributor

lgtm

xiang90 added a commit that referenced this pull request Dec 22, 2015
etcdmain: fix incomplete proxy config file
@xiang90 xiang90 merged commit f3f5726 into etcd-io:master Dec 22, 2015
@xiang90 xiang90 deleted the proxy branch December 22, 2015 00:37
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.

None yet

3 participants