mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 14:45:28 +00:00
Strip whitespace that OS X inserts on wc calls.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user