Commit Graph

14 Commits

Author SHA1 Message Date
Paweł Żak 43590ca730
chore: Fix linter findings for `revive:comment-spacings` (part 1) (#15896) 2024-09-19 10:55:45 +02:00
Dane Strandboge 612b5ad8b1
chore: Fix errcheck CI warnings outside of plugins directory (#15390) 2024-06-04 10:33:37 +02:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Joshua Powers 0f8957f0e9
chore: Resolves gocritic sloppyReassign (#13712) 2023-08-03 18:57:18 +02:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
Joshua Powers 3f3885a2b0
fix(agent): Only rotate log on SIGHUP if needed (#12740) 2023-03-01 07:30:37 -07:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Eng Zer Jun c3d176029d
test: use `T.TempDir` to create temporary test directory (#10988) 2022-04-18 13:27:59 -06:00
Joshua Powers 36d0b0ff7a
chore: update slow file rotation tests (#10857) 2022-03-24 11:56:25 -06:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Paweł Żak d9736d543f
Revive fixes - part 2 (#8835)
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
Harshit Bansal 134af0fe4b
Fix log rotation to use actual file size instead of bytes written (#7133) 2020-03-10 12:07:42 -07:00
Daniel Nelson 0fb9040a64
Fix double close error with log rotation (#5960) 2019-06-05 13:55:21 -07:00
javicrespo bcf7516a23 Add in process log rotation (#5778) 2019-05-03 10:25:28 -07:00