Merge pull request #4512 from brendandburns/master

Strip whitespace that OS X inserts on wc calls.
This commit is contained in:
CJ Cullen 2015-02-17 17:22:16 -08:00
commit 91714077b0

View File

@ -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
}