Skip to content

Commit 8f0c90b

Browse files
committed
fix(builder): using DEIS_OUTSIDE_STORAGE_PORT properly
1 parent 1a2975f commit 8f0c90b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/etc/confd/templates/builder

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ HTTP_PREFIX="http"
102102
# TODO: figure out something for using S3 also
103103
if [[ -n "$DEIS_MINIO_SERVICE_HOST" && -n "$DEIS_MINIO_SERVICE_PORT" ]]; then
104104
S3EP=${DEIS_MINIO_SERVICE_HOST}:${DEIS_MINIO_SERVICE_PORT}
105-
elif [[ -n "$DEIS_OUTSIDE_STORAGE_HOST" && -n "$DEIS_OUTSIDE_STORAGE_HOST" ]]; then
105+
elif [[ -n "$DEIS_OUTSIDE_STORAGE_HOST" && -n "$DEIS_OUTSIDE_STORAGE_PORT" ]]; then
106106
HTTP_PREFIX="https"
107-
S3EP=${DEIS_OUTSIDE_STORAGE_HOST}:${DEIS_OUTSIDE_STORAGE_HOST}
107+
S3EP=${DEIS_OUTSIDE_STORAGE_HOST}:${DEIS_OUTSIDE_STORAGE_PORT}
108108
elif [ -z "$S3EP" ]; then
109109
S3EP=${HOST}:3000
110110
fi

0 commit comments

Comments
 (0)