mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +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
|
||||
done
|
||||
|
||||
echo "Failed to execute '${cmd[@]}' for $retry_limit times." >&2
|
||||
|
||||
return ${rc}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user