mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Merge pull request #77642 from mm4tt/chunk_size
Revert #77552 now the actual fix #77580 got merged
This commit is contained in:
commit
222ced7d20
@ -104,7 +104,7 @@ while true; do
|
||||
# which are important for line counting.
|
||||
# Use trick from https://unix.stackexchange.com/a/383411 to avoid
|
||||
# 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%.}"
|
||||
if [ "${res}" -ne "0" ]; then
|
||||
if [[ "${attempt}" -gt "${last_run:-$MAX_ATTEMPTS}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user