mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Strip whitespace that OS X inserts on wc calls.
This commit is contained in:
parent
a4bc22e263
commit
eee9804e97
@ -168,7 +168,7 @@ function wait-for-minions-to-run {
|
||||
sleep 5
|
||||
running_minions=$(gcloud preview --project "${PROJECT}" instance-groups \
|
||||
--zone "${ZONE}" instances --group "${NODE_INSTANCE_PREFIX}-group" list \
|
||||
--running | wc -l)
|
||||
--running | wc -l | xargs)
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user