Fix e2e test for .ID->.Name change

This commit is contained in:
Joe Beda
2014-10-22 17:19:53 -07:00
parent 6ef6ff5bc5
commit 33763d07b2
6 changed files with 7 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ function query_pods() {
local i
for i in $(seq 1 10); do
pods_unsorted=($(${KUBECFG} \
'-template={{range.Items}}{{.ID}} {{end}}' \
'-template={{range.Items}}{{.Name}} {{end}}' \
-l replicationController="$1" list pods))
found="${#pods_unsorted[*]}"
if [[ "${found}" == "$2" ]]; then