Skip to content

Commit

Permalink
Fix update.sh given the renaming of the network container.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Jan 28, 2015
1 parent a019749 commit abce3ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/e2e-suite/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function validate() {
# This template is unit-tested in kubec{tl|fg}, so if you change it, update the unit test.
#
# You can read about the syntax here: http://golang.org/pkg/text/template/
template_string="{{and (exists . \"currentState\" \"info\" \"${CONTROLLER_NAME}\" \"state\" \"running\") (exists . \"currentState\" \"info\" \"net\" \"state\" \"running\")}}"
template_string="{{and (exists . \"currentState\" \"info\" \"${CONTROLLER_NAME}\" \"state\" \"running\") (exists . \"currentState\" \"info\" \"POD\" \"state\" \"running\")}}"
current_status=$($KUBECFG -template="${template_string}" get "pods/$id") || {
if [[ $current_status =~ "pod \"${id}\" not found" ]]; then
echo " $id no longer exists"
Expand All @@ -76,7 +76,7 @@ function validate() {
continue
fi

echo " $id is created and both net and update-demo containers are running: $current_status"
echo " $id is created and both POD and update-demo containers are running: $current_status"

template_string="{{(index .currentState.info \"${CONTROLLER_NAME}\").image}}"
current_image=$($KUBECFG -template="${template_string}" get "pods/$id") || true
Expand Down

0 comments on commit abce3ec

Please sign in to comment.