mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 23:29:21 +00:00
Vagrant util has minion query for ID, not Name
Related to the ID->Name refactor, noticed while running e2e
This commit is contained in:
parent
e46af6e37f
commit
bd1b3fb245
@ -92,7 +92,7 @@ function kube-up {
|
|||||||
local count="0"
|
local count="0"
|
||||||
until [[ "$count" == "1" ]]; do
|
until [[ "$count" == "1" ]]; do
|
||||||
local minions
|
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]}") || {
|
count=$(echo $minions | grep -c "${MINION_NAMES[i]}") || {
|
||||||
printf "."
|
printf "."
|
||||||
sleep 2
|
sleep 2
|
||||||
|
Loading…
Reference in New Issue
Block a user