Commit Graph

6 Commits

Author SHA1 Message Date
Dave Protasowski 19b9a095db
Fix all linter warnings (#15684)
* add updated linter config

* fix whitespace linting

* fix usestdlibvars linter

* fix lint wastedassign

* address unparam linter - container concurrency wasn't being used when assigning pods to activator

* fix tenv linter

* fix stylecheck linter

* fix staticheck linter

* fix perfsprint linter

* fix nosprintfhostport

* f perfsprint

* fix nolintlint - remove nolint directives that had no effect

* fix noctx linter

* fix gomodguard linter - drop uber atomic package

* fix nilerr linter

* fix mirror linter

* fix loggercheck linter

* fix govet linter

* fix gosimple linter

* fix gosec linter

* fix unconvert linter

* fix perfsprint linter

* fix errname linter

* fix errlint linter

* fix bodyclose linter

* fix canonicalheader linter

* fix durationcheck linter

* fix copyloopvar linter

* fix fatcontext linter

* fix gocritic-commentFormatting

* fix gocritic linter

* fix intrange linter

* fix prealloc linter

* fix flakey kpa test

* fix gofumpt linter
2025-01-14 13:48:01 +00:00
Stavros Kontopoulos fd8f4611eb
clean up feature keys (#14570) 2023-10-30 07:13:50 +00:00
Markus Thömmes 65b83e6005
Remove createWithOptions shim for dry-run functionality (#9810)
We have since moved to the 1.18 K8s clients so this workaround is no longer necessary and we can just use the K8s client proper.
2020-10-14 03:06:31 -07:00
Matt Moore 7398ed7b7e
Normalize our copyright boilerplate to match boilerplate.go.txt (#9485) 2020-09-19 16:41:45 -07:00
Weston Haught 609a1b8e94
update strict mode (#8842) 2020-07-29 12:59:59 -07:00
Weston Haught 5ee8c9cd43
PodSpec dry-run for unparented Configurations (#8828)
* validate configurations

* Update pkg/webhook/validate_unstructured.go

Co-authored-by: Julian Friedman <julz.friedman@uk.ibm.com>

Co-authored-by: Julian Friedman <julz.friedman@uk.ibm.com>
2020-07-28 17:20:59 -07:00