Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick #9069 to 6.5: Propagate Sync error when running SafeFileR…
…otate (#9142) * Propagate Sync error when running SafeFileRotate (#9069) Previously, it was possible SafeFileRotate encountered an error without propagating it, because the return value of os.Sync was not utilized. From now on the errors from Sync are propagated. (cherry picked from commit 93eb92a)
- Loading branch information