mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-26 15:00:19 +00:00
ci: address shadowing of predeclared identifier
Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
parent
31d1159858
commit
6ccc77d510
@ -1580,10 +1580,10 @@ func k8sVersionGreaterEquals(c kubernetes.Interface, major, minor int) bool {
|
|||||||
// return value.
|
// return value.
|
||||||
}
|
}
|
||||||
|
|
||||||
maj := strconv.Itoa(major)
|
_maj := strconv.Itoa(major)
|
||||||
min := strconv.Itoa(minor)
|
_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
|
// waitForJobCompletion polls the status of the given job and waits until the
|
||||||
|
Loading…
Reference in New Issue
Block a user