Commit fa0fa8b1 authored by Dirk Müller's avatar Dirk Müller Committed by Brad Davidson

Update golangci-lint to 1.45.2

This requires a further set of gofmt -s improvements to the code, but nothing major. golangci-lint 1.45.2 brings golang 1.18 support which might be needed in the future. Signed-off-by: 's avatarDirk Müller <dirk@dmllr.de>
parent 5cb4894a
......@@ -35,7 +35,7 @@ RUN GOPROXY=direct go get golang.org/x/tools/cmd/goimports@gopls/v0.7.0
RUN rm -rf /go/src /go/pkg
RUN if [ "$(go env GOARCH)" = "amd64" ]; then \
curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.41.1; \
curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.45.2; \
fi
ENV YQ_URL=https://github.com/mikefarah/yq/releases/download/v4.6.2/yq_linux
......
// +build !windows
//go:build !windows
package containerd
......
// +build linux
//go:build linux
package loadbalancer
......
// +build !windows
//go:build !windows
package syssetup
......
// +build linux
//go:build linux
package templates
......
// +build linux
//go:build linux
package cmds
......
// +build linux,cgo
//go:build linux && cgo
package cmds
......
// +build !no_stage
//go:build !no_stage
package cmds
......
// +build !ctrd
//go:build !ctrd
package containerd
......
// +build linux
//go:build linux
package containerd
......
// +build !no_stage
//go:build !no_stage
package deploy
......
// +build linux darwin freebsd openbsd netbsd dragonfly
//go:build linux || darwin || freebsd || openbsd || netbsd || dragonfly
/*
Copyright 2016 The Kubernetes Authors.
......
//go:build linux || darwin || freebsd || openbsd || netbsd || dragonfly
// +build linux darwin freebsd openbsd netbsd dragonfly
/*
Copyright 2016 The Kubernetes Authors.
......
// +build !windows
//go:build !windows
package rootless
......
// +build !no_stage
//go:build !no_stage
package static
......
// +build !windows
//go:build !windows
package util
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment