b600301f4e212d7aafaccda5363598574d529c44
- Check errors.Cause(err) when comparing errors - Fix bug where oldest log file is not actually removed. This in particular causes issues when compression is enabled. On rotate it just overwrites the data in the log file corrupting it. - Use O_TRUNC to open new gzip files to ensure we don't corrupt log files as happens without the above fix. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: e87e9e6ad6ba501cc42a2ef47ac18c88a68f258f Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%