From 31cddd1f3615190f0b1a78b57eb0604d3191ee93 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 30 Jan 2024 16:59:39 +0100 Subject: [PATCH] ci: define `i` as type `int` in for loop The output of the for loop seemt to be `groovy.lang.IntRange`, which is not very useful. Maybe it is required to define the variable of type `int`? Signed-off-by: Niels de Vos --- k8s-e2e-external-storage.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s-e2e-external-storage.groovy b/k8s-e2e-external-storage.groovy index 50b4a86f4..0b3696c99 100644 --- a/k8s-e2e-external-storage.groovy +++ b/k8s-e2e-external-storage.groovy @@ -44,7 +44,7 @@ def create_duffy_config() { def podman_pull(source, destination, image) { def failed = null - for (i in 0..9) { + for (int i in 0..9) { try { ssh "podman pull --authfile=~/.podman-auth.json ${source}/${image} && podman tag ${source}/${image} ${image} ${destination}/${image}" failed = null