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
```
pull/6/head
Kubernetes Submit Queue 2017-07-18 21:04:20 -07:00 committed by GitHub
commit 384c1d285d
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ function with-retry() {
sleep 3
done
echo "Failed to execute '${cmd[@]}' for $retry_limit times." >&2
return ${rc}
}