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

Fallback to a file copy during update if the file rename fails #72

Merged
merged 1 commit into from
May 14, 2020

Conversation

phamann
Copy link
Member

@phamann phamann commented May 14, 2020

TL;DR

Fallback to a file copy if os.Rename() fails during fastly update. Normally caused if the destination isn't on the same filesystem as the temporary download directory.

Copy of #49

Co-authored-by: Frederik Deweerdt <fdeweerdt@fastly.com">
@phamann phamann changed the title Fallback to a file copy during update if the file rename fails. Fallback to a file copy during update if the file rename fails May 14, 2020
@phamann phamann added the bug Something isn't working label May 14, 2020
@phamann phamann merged commit 8f75432 into master May 14, 2020
@phamann phamann deleted the phamann/fix-update-rename branch May 22, 2020 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants