Skip to content

Commit 8c2dae2

Browse files
authoredDec 19, 2024
Merge pull request #650 from ash2k/k8s-1.32
Kubernetes 1.32 libraries
2 parents 75cd160 + b776d36 commit 8c2dae2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+302
-386
lines changed
 

‎.golangci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
run:
5-
deadline: 30m
5+
timeout: 30m
66

77
linters:
88
# please, do not use `enable-all`: it's deprecated and will be removed soon.
@@ -14,7 +14,7 @@ linters:
1414
- dogsled
1515
- dupl
1616
- errcheck
17-
- exportloopref
17+
- copyloopvar
1818
- gochecknoinits
1919
- goconst
2020
- gocritic
@@ -46,6 +46,8 @@ linters-settings:
4646
line-length: 170
4747
gocyclo:
4848
min-complexity: 30
49+
copyloopvar:
50+
check-alias: true
4951

5052
issues:
5153
# List of regexps of issue texts to exclude, empty list by default.
@@ -54,4 +56,4 @@ issues:
5456
# excluded by default patterns execute `golangci-lint run --help`
5557
exclude:
5658
- "Using the variable on range scope `tc` in function literal"
57-
- "unused-parameter: parameter"
59+
- "unused-parameter: parameter"

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ all: generate license fix vet fmt test lint tidy
1616
go install github.com/google/addlicense@v1.0.0
1717

1818
"$(MYGOBIN)/golangci-lint":
19-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3
19+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2
2020

2121
"$(MYGOBIN)/deepcopy-gen":
2222
go install k8s.io/code-generator/cmd/deepcopy-gen@v0.25.2

0 commit comments

Comments
 (0)