Skip to content

Commit adeb821

Browse files
authored
Merge pull request kubernetes-sigs#2451 from shiftstack/cilint-bump-0.11
[release-0.11] 🌱 Bump golangci-lint to support go1.24
2 parents 72985ba + 8312b12 commit adeb821

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

hack/tools/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ROOT_DIR_RELATIVE := ../..
1616
include $(ROOT_DIR_RELATIVE)/common.mk
1717

18-
GOLANGCI_LINT_VERSION ?= v1.61.0
18+
GOLANGCI_LINT_VERSION ?= v1.64.6
1919

2020
# GOTESTSUM version without the leading 'v'
2121
GOTESTSUM_VERSION ?= 1.11.0

internal/controllers/image/reconcile.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,8 @@ func (r *orcImageReconciler) reconcileNormal(ctx context.Context, orcImage *orcv
219219
addStatus(withIncrementDownloadAttempts())
220220

221221
return ctrl.Result{}, nil
222-
} else {
223-
return ctrl.Result{}, r.uploadImageContent(ctx, orcImage, imageClient, glanceImage)
224222
}
223+
return ctrl.Result{}, r.uploadImageContent(ctx, orcImage, imageClient, glanceImage)
225224

226225
// Error cases
227226
case images.ImageStatusKilled:

orc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
184184
KUSTOMIZE_VERSION ?= v5.4.2
185185
CONTROLLER_TOOLS_VERSION ?= v0.16.4
186186
ENVTEST_VERSION ?= release-0.18
187-
GOLANGCI_LINT_VERSION ?= v1.61.0
187+
GOLANGCI_LINT_VERSION ?= v1.64.6
188188

189189
.PHONY: kustomize
190190
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.

0 commit comments

Comments
 (0)