mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
remove --api-version
This commit is contained in:
@@ -237,7 +237,7 @@ function verify-cluster {
|
||||
echo "Timeout while waiting for echo node to be registered with cloud provider"
|
||||
exit 2
|
||||
fi
|
||||
local nodes=$("${KUBE_ROOT}/cluster/kubectl.sh" get nodes -o name --api-version=v1)
|
||||
local nodes=$("${KUBE_ROOT}/cluster/kubectl.sh" get nodes -o name)
|
||||
validated=$(echo $nodes | grep -c "${NODE_NAMES[i]}") || {
|
||||
printf "."
|
||||
sleep 2
|
||||
|
||||
Reference in New Issue
Block a user