From ced9ed9266b188cce31a9997105d9f39653bf4f9 Mon Sep 17 00:00:00 2001
From: Ilya Mashchenko <ilya@netdata.cloud>
Date: Mon, 22 Apr 2024 13:47:05 +0300
Subject: [PATCH] bump go toolchain to v1.22.0 in check-for-go-toolchain.sh
 (#17474)

---
 packaging/check-for-go-toolchain.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packaging/check-for-go-toolchain.sh b/packaging/check-for-go-toolchain.sh
index cd9bbfb5e2..fe5dabfadf 100644
--- a/packaging/check-for-go-toolchain.sh
+++ b/packaging/check-for-go-toolchain.sh
@@ -14,7 +14,7 @@
 # GOLANG_FAILURE_REASON set to an error message indicating what went wrong.
 
 GOLANG_MIN_MAJOR_VERSION='1'
-GOLANG_MIN_MINOR_VERSION='21'
+GOLANG_MIN_MINOR_VERSION='22'
 GOLANG_MIN_PATCH_VERSION='0'
 GOLANG_MIN_VERSION="${GOLANG_MIN_MAJOR_VERSION}.${GOLANG_MIN_MINOR_VERSION}.${GOLANG_MIN_PATCH_VERSION}"