update golangci-lint to v1.49.0

Also remove "nolint" comments for deadcode, which is deprecated, and removed
from the defaults.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-08-31 09:44:08 +02:00
parent f9c80be1bb
commit 8b5df7d347
5 changed files with 5 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ func setCPU(s *Spec) {
}
}
//nolint:deadcode,nolintlint,unused // not used on all platforms
//nolint:nolintlint,unused // not used on all platforms
func setCPUWindows(s *Spec) {
setResourcesWindows(s)
if s.Windows != nil {