Skip to content

Commit

Permalink
Fix update.sh if DOCKER_HUB_USER isn't defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Feb 19, 2015
1 parent 4e0deab commit 6e2b733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/e2e-suite/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function validate() {

template_string="{{(index .currentState.info \"${CONTROLLER_NAME}\").image}}"
current_image=$($KUBECTL get pods "$id" -o template --template="${template_string}") || true
if [[ "$current_image" != "${DOCKER_HUB_USER}/update-demo:${container_image_version}" ]]; then
if [[ "$current_image" != "kubernetes/update-demo:${container_image_version}" ]]; then
echo " ${id} is created but running wrong image"
continue
fi
Expand Down

0 comments on commit 6e2b733

Please sign in to comment.