mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 12:32:03 +00:00
Log error when fail to execute command in with-retry()
This commit is contained in:
parent
f818cbeaed
commit
722c3e348c
@ -40,6 +40,8 @@ function with-retry() {
|
|||||||
sleep 3
|
sleep 3
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "Failed to execute '${cmd[@]}' for $retry_limit times." >&2
|
||||||
|
|
||||||
return ${rc}
|
return ${rc}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user