Vagrant util has minion query for ID, not Name

Related to the ID->Name refactor, noticed while running e2e
This commit is contained in:
Clayton Coleman 2014-10-23 23:12:04 -04:00
parent e46af6e37f
commit bd1b3fb245

View File

@ -92,7 +92,7 @@ function kube-up {
local count="0"
until [[ "$count" == "1" ]]; do
local minions
minions=$("${KUBE_ROOT}/cluster/kubecfg.sh" -template '{{range.Items}}{{.ID}}:{{end}}' list minions)
minions=$("${KUBE_ROOT}/cluster/kubecfg.sh" -template '{{range.Items}}{{.Name}}:{{end}}' list minions)
count=$(echo $minions | grep -c "${MINION_NAMES[i]}") || {
printf "."
sleep 2