mirror of https://github.com/rancher/webhook.git
* Update dependency golangci/golangci-lint to v2 * Migrate the golangci config file. * Fix golangci-lint-flagged problems Most of them fall in these categories: * stop ignoring returned errors from function calls * Apply deMorgan's law to complex negative boolean expressions * Delete unused local variables and struct fields * Successfully get the linter to stop complaining about uncommented global names * If one import in a block has an import prefix, all must * Deal with deprecated code * Prefer switch-blocks to if/else if/... * Remove unnecessary intermediate struct fields. * Orphans are now deleted only via propagation-policy * Stop checking goimports on generated files. * Remove unused field comment --------- Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com> Co-authored-by: Eric Promislow <epromislow@suse.com> |
||
|---|---|---|
| .. | ||
| aggregateResolver.go | ||
| aggregateResolver_test.go | ||
| crtbResolver.go | ||
| crtbResolver_test.go | ||
| grbRuleResolvers.go | ||
| grbRuleResolvers_test.go | ||
| prtbResolver.go | ||
| prtbResolver_test.go | ||
| resolvers.go | ||
| resolvers_test.go | ||