shellcheck: Fix shellcheck SC2071

> > is for string comparisons. Use -gt instead.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-02-28 11:47:55 +00:00
parent eb90b93e3f
commit b8cfdd06fb

View File

@ -29,7 +29,7 @@ function main() {
echo "Running kubernetes stability test"
count=0
while [[ "${end_time}" > $(date +%s) ]]; do
while [[ "${end_time}" -gt $(date +%s) ]]; do
echo "This is the number of iterations $count"
count=$((count+1))