Skip to content

Commit 355a96a

Browse files
committed
Remove project contraint to require 1.22
1 parent e7a21f0 commit 355a96a

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ CSI_PROXY_API_GEN = $(BUILD_DIR)/csi-proxy-api-gen
1515
# overrides the $(CMDS:%=build-%) rule in release-tools/build.make because this project is not compatible with go >1.23
1616
# TODO: remove this override as part of https://github.com/kubernetes-csi/csi-proxy/issues/361
1717
build-csi-proxy: check-go-version-go
18-
# Checks that the go version is 1.22 or lower
19-
if (( "$$(go version | awk '{print $3}' | sed 's/go//' | cut -d'.' -f2)" > 22 )); then echo "This project requires go 1.22 or lower"; exit 1; fi;
2018
mkdir -p bin
2119
# os_arch_seen captures all of the $$os-$$arch-$$buildx_platform seen for the current binary
2220
# that we want to build, if we've seen an $$os-$$arch-$$buildx_platform before it means that

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
module github.com/kubernetes-csi/csi-proxy
22

3-
// NOTE: This project must be built with go < 1.23
4-
// `make build` will error if go1.23 or higher is used.
5-
63
go 1.22.0
74

85
toolchain go1.22.3

0 commit comments

Comments
 (0)