Skip to content

Commit

Permalink
[s2i] fix unbound variable on OpenShift 3.9 (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz authored Jul 11, 2018
1 parent 63d0c23 commit ce094f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Do not crash when initializing unreachable/invalid DNS resolver [PR #730](https://github.com/3scale/apicast/pull/730)
- Reporting only 50% calls to 3scale backend when using OIDC [PR #774](https://github.com/3scale/apicast/pull/774)
- Building container image on OpenShift 3.9 [PR #810](https://github.com/3scale/apicast/pull/810), [THREESCALE-1138](https://issues.jboss.org/browse/THREESCALE-1138)

## [3.2.0-rc2] - 2018-05-11

Expand Down
2 changes: 1 addition & 1 deletion gateway/.s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

mkdir -p /tmp/.s2i

if [[ -n "${GIT_BRANCH}" && "${GIT_BRANCH}" != master && -z "${GIT_TAG}" ]]; then
if [[ -n "${GIT_BRANCH:-}" && "${GIT_BRANCH:-}" != master && -z "${GIT_TAG:-}" ]]; then
IMAGE_EXPIRES_AFTER="1w"
echo "This image is going to have just ${IMAGE_EXPIRES_AFTER} expiration."
fi
Expand Down

0 comments on commit ce094f8

Please sign in to comment.