Commit Graph

3 Commits

Author SHA1 Message Date
Paul Holzinger d240865a45 lint: update golangci-lint to v1.56.2
Adds a couple of new linters with many new warnings:
- perfsprint (fixed in code, excluded for tests)
- revive (fix the problems, disabled the dot import check as we use it
  for ginkgo)
- inamedparam (disabled because it is opinionated)
- testifylint (great linter but we have like 1000+ issues that I have no
  time fixing now)

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-03-05 18:10:32 +01:00
Valentin Rothberg 5d7e0a74e7 linters: enable gci
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-09-01 11:08:17 +02:00
Sascha Grunert d2d0518599 Don't call `umask` in subscriptions
This call will be done in parallel which messes up the umask on CRI-O on
container creation. We now call `chmod` after directory and file
creation to enforce the right permissions.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-04-25 09:39:54 +02:00