summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShelley-BaoYue <baoyue2@huawei.com>2023-11-17 11:01:09 +0800
committerShelley-BaoYue <baoyue2@huawei.com>2023-11-17 11:03:39 +0800
commit812faad4332ecb8fbc5dd2df24639c9c944beca1 (patch)
treeb414f51671ac1ee4cb3a7382249eabbd37bd97cc
parentMerge pull request #5157 from zhiyingfang2022/fzy1108 (diff)
downloadkubeedge-812faad4332ecb8fbc5dd2df24639c9c944beca1.tar.gz
fix go version verify
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
-rwxr-xr-xhack/lib/golang.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh
index 4dd19cbf9..a60a4cf38 100755
--- a/hack/lib/golang.sh
+++ b/hack/lib/golang.sh
@@ -37,7 +37,7 @@ kubeedge::golang::verify_golang_version() {
exit 1
fi
- if [ $Y -lt 16 ] ; then
+ if [ $Y -lt 20 ] ; then
echo "go minor version must >= 20, now is $Y"
exit 1
fi