set GOTOOLCHAIN to GO_VERSION in Makefile

pull/20331/head
Predrag Rogic 2025-01-27 00:07:12 +00:00 committed by Medya Ghazizadeh
parent 1f372f177a
commit 48b66bb628
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ RPM_REVISION ?= 0
GO_VERSION ?= 1.23.4
# set GOTOOLCHAIN to GO_VERSION to override any toolchain version specified in
# go.mod (ref: https://go.dev/doc/toolchain#GOTOOLCHAIN)
export GOTOOLCHAIN := $(GO_VERSION)
export GOTOOLCHAIN := go$(GO_VERSION)
# update this only by running `make update-golang-version`
GO_K8S_VERSION_PREFIX ?= v1.33.0