Skip to content

Commit

Permalink
fix incorrect var name
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Sep 23, 2024
1 parent 10a5034 commit d3483d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions quickstart/docker/createLocalImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ fi

# optionally, configure ZITI_VERSION for pushLatestDocker.sh
if [[ -n "${ZITI_VERSION_OVERRIDE:-}" && -n "${ZITI_VERSION:-}" ]]; then
echo "WARN: both ZITI_VERSION and ZITI_VERSION_OVERRIDE are set, overriding $ZITI_VERSION with $ZITI_OVERRIDE_VERSION" >&2
echo "WARN: both ZITI_VERSION and ZITI_VERSION_OVERRIDE are set, overriding $ZITI_VERSION with $ZITI_VERSION_OVERRIDE" >&2
export ZITI_VERSION="${ZITI_VERSION_OVERRIDE#v}"
elif [[ -n "${ZITI_VERSION_OVERRIDE:-}" ]]; then
echo "INFO: ZITI_VERSION_OVERRIDE is set, setting ZITI_VERSION=${ZITI_OVERRIDE_VERSION#v}"
echo "INFO: ZITI_VERSION_OVERRIDE is set, setting ZITI_VERSION=${ZITI_VERSION_OVERRIDE#v}"
export ZITI_VERSION="${ZITI_VERSION_OVERRIDE#v}"
elif [[ -n "${ZITI_VERSION:-}" ]]; then
echo "INFO: ZITI_VERSION is set, using ZITI_VERSION=${ZITI_VERSION#v}"
Expand Down
2 changes: 1 addition & 1 deletion quickstart/test/compose-test.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if [[ -n "${ZITI_QUICK_DIR:-}" ]]; then
if [[ -x "${ZITI_QUICK_DIR:-}/docker/createLocalImage.sh" ]]; then
(
cd "${ZITI_QUICK_DIR}/docker"
unset ZITI_VERSION ZITI_OVERRIDE_VERSION # always build the local source
unset ZITI_VERSION ZITI_VERSION_OVERRIDE # always build the local source
./createLocalImage.sh --build "${ZITI_QUICK_TAG}"
)
else
Expand Down

0 comments on commit d3483d9

Please sign in to comment.