mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
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 <ndevos@ibm.com>
This commit is contained in:
parent
97afd83f2b
commit
31cddd1f36
@ -44,7 +44,7 @@ def create_duffy_config() {
|
|||||||
def podman_pull(source, destination, image) {
|
def podman_pull(source, destination, image) {
|
||||||
def failed = null
|
def failed = null
|
||||||
|
|
||||||
for (i in 0..9) {
|
for (int i in 0..9) {
|
||||||
try {
|
try {
|
||||||
ssh "podman pull --authfile=~/.podman-auth.json ${source}/${image} && podman tag ${source}/${image} ${image} ${destination}/${image}"
|
ssh "podman pull --authfile=~/.podman-auth.json ${source}/${image} && podman tag ${source}/${image} ${image} ${destination}/${image}"
|
||||||
failed = null
|
failed = null
|
||||||
|
Loading…
Reference in New Issue
Block a user