Unverified Commit 222ced7d authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #77642 from mm4tt/chunk_size

Revert #77552 now the actual fix #77580 got merged
parents 1c689c2f b4a8beb0
...@@ -104,7 +104,7 @@ while true; do ...@@ -104,7 +104,7 @@ while true; do
# which are important for line counting. # which are important for line counting.
# Use trick from https://unix.stackexchange.com/a/383411 to avoid # Use trick from https://unix.stackexchange.com/a/383411 to avoid
# newline truncation. # newline truncation.
node=$(kubectl_retry get nodes --chunk-size=0 --no-headers; ret=$?; echo .; exit "$ret") && res="$?" || res="$?" node=$(kubectl_retry get nodes --no-headers; ret=$?; echo .; exit "$ret") && res="$?" || res="$?"
node="${node%.}" node="${node%.}"
if [ "${res}" -ne "0" ]; then if [ "${res}" -ne "0" ]; then
if [[ "${attempt}" -gt "${last_run:-$MAX_ATTEMPTS}" ]]; then if [[ "${attempt}" -gt "${last_run:-$MAX_ATTEMPTS}" ]]; then
......
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