Commit 384c1d28 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #48914 from MrHohn/gke-kube-down-log

Automatic merge from submit-queue (batch tested with PRs 48914, 48535, 49099, 48935, 48871) Log error when fail to execute command in with-retry() **What this PR does / why we need it**: Enhance gke/util.sh logging. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48913 **Special notes for your reviewer**: /cc @krzyzacy **Release note**: ```release-note NONE ```
parents ccaaf5ca 722c3e34
...@@ -40,6 +40,8 @@ function with-retry() { ...@@ -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}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment