Skip to content

Commit 7480699

Browse files
authored
Fix gofumpt issue and pin version (#533)
Signed-off-by: Caleb Xu <caxu@redhat.com>
1 parent 344fe54 commit 7480699

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,9 @@ install.gosec:
153153

154154
# gofumpt
155155
GOFUMPT = $(shell pwd)/out/gofumpt
156+
GOFUMPT_VERSION ?= v0.9.0
156157
install.gofumpt:
157-
$(call go-install-tool,$(GOFUMPT),mvdan.cc/gofumpt@latest)
158+
$(call go-install-tool,$(GOFUMPT),mvdan.cc/gofumpt@$(GOFUMPT_VERSION))
158159

159160
# golangci-lint
160161
GOLANGCI_LINT = $(shell pwd)/out/golangci-lint

internal/chartverifier/checks/charttesting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ func generateInstallConfig(
227227
kubectl.DeleteNamespace(context.TODO(), namespace)
228228
}
229229
}
230-
return
230+
return namespace, release, releaseSelector, cleanup
231231
}
232232

233233
// testRelease tests a release.

0 commit comments

Comments
 (0)