Merge pull request #13268 from cameronbrunner/ISSUE_13267

Remove kubectl deprecation warning in Vagrant Cluster Provider
pull/6/head
Derek Carr 2015-09-02 12:30:34 -04:00
commit e3abf89aab
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ function verify-cluster {
local count="0" local count="0"
until [[ "$count" == "1" ]]; do until [[ "$count" == "1" ]]; do
local minions local minions
minions=$("${KUBE_ROOT}/cluster/kubectl.sh" get nodes -o template -t '{{range.items}}{{.metadata.name}}:{{end}}' --api-version=v1) minions=$("${KUBE_ROOT}/cluster/kubectl.sh" get nodes -o template --template '{{range.items}}{{.metadata.name}}:{{end}}' --api-version=v1)
count=$(echo $minions | grep -c "${MINION_IPS[i]}") || { count=$(echo $minions | grep -c "${MINION_IPS[i]}") || {
printf "." printf "."
sleep 2 sleep 2