From 6ccc77d5104bd9e4061be649f51e8880dda9ee56 Mon Sep 17 00:00:00 2001 From: Praveen M Date: Fri, 20 Dec 2024 11:14:51 +0530 Subject: [PATCH] ci: address shadowing of predeclared identifier Signed-off-by: Praveen M --- e2e/utils.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/utils.go b/e2e/utils.go index d0319aa2f..6ad7ec526 100644 --- a/e2e/utils.go +++ b/e2e/utils.go @@ -1580,10 +1580,10 @@ func k8sVersionGreaterEquals(c kubernetes.Interface, major, minor int) bool { // return value. } - maj := strconv.Itoa(major) - min := strconv.Itoa(minor) + _maj := strconv.Itoa(major) + _min := strconv.Itoa(minor) - return (v.Major > maj) || (v.Major == maj && v.Minor >= min) + return (v.Major > _maj) || (v.Major == _maj && v.Minor >= _min) } // waitForJobCompletion polls the status of the given job and waits until the