Skip to content

Commit 93a9cf7

Browse files
ybettank8s-ci-robot
authored andcommitted
Bumping to go1.23.
Signed-off-by: Yoni Bettan <[email protected]>
1 parent ef5cd87 commit 93a9cf7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ controller-gen: ## Download controller-gen locally if necessary.
237237
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
238238
.PHONY: golangci-lint
239239
golangci-lint: ## Download golangci-lint locally if necessary.
240-
$(call go-get-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2)
240+
$(call go-get-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2)
241241

242242
.PHONY: mockgen
243243
mockgen: ## Install mockgen locally.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/kubernetes-sigs/kernel-module-management
22

3-
go 1.22.0
3+
go 1.23.0
44

5-
toolchain go1.22.2
5+
toolchain go1.23.4
66

77
require (
88
github.com/a8m/envsubst v1.4.2

internal/controllers/nmc_reconciler_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,10 @@ var _ = Describe("NodeModulesConfigReconciler_Reconcile", func() {
383383
wh.EXPECT().SyncStatus(ctx, nmc).Return(nil),
384384
kubeClient.EXPECT().Get(ctx, types.NamespacedName{Name: nmc.Name}, &node).Return(nil),
385385
nm.EXPECT().IsNodeSchedulable(&node, nil).Return(true),
386-
wh.EXPECT().ProcessModuleSpec(contextWithValueMatch, nmc, &spec0, &status0, &node).Return(fmt.Errorf(errorMeassge)),
387-
wh.EXPECT().ProcessUnconfiguredModuleStatus(contextWithValueMatch, nmc, &status2, &node).Return(fmt.Errorf(errorMeassge)),
388-
wh.EXPECT().GarbageCollectInUseLabels(ctx, nmc).Return(fmt.Errorf(errorMeassge)),
389-
wh.EXPECT().UpdateNodeLabels(ctx, nmc, &node).Return(nil, nil, fmt.Errorf(errorMeassge)),
386+
wh.EXPECT().ProcessModuleSpec(contextWithValueMatch, nmc, &spec0, &status0, &node).Return(errors.New(errorMeassge)),
387+
wh.EXPECT().ProcessUnconfiguredModuleStatus(contextWithValueMatch, nmc, &status2, &node).Return(errors.New(errorMeassge)),
388+
wh.EXPECT().GarbageCollectInUseLabels(ctx, nmc).Return(errors.New(errorMeassge)),
389+
wh.EXPECT().UpdateNodeLabels(ctx, nmc, &node).Return(nil, nil, errors.New(errorMeassge)),
390390
)
391391

392392
_, err = r.Reconcile(ctx, req)

0 commit comments

Comments
 (0)