This commit is contained in:
Chao Xu
2015-06-04 16:35:24 -07:00
parent 1605fc7347
commit 5a54a0118d
2 changed files with 4 additions and 4 deletions

View File

@@ -124,7 +124,7 @@ for version in "${kube_api_versions[@]}"; do
-s "http://127.0.0.1:${API_PORT}"
--match-server-version
)
[ "$(kubectl get nodes -t '{{ .apiVersion }}' "${kube_flags[@]}")" == "v1beta3" ]
[ "$(kubectl get nodes -t '{{ .apiVersion }}' "${kube_flags[@]}")" == "v1" ]
else
kube_flags=(
-s "http://127.0.0.1:${API_PORT}"