Skip to content

Commit

Permalink
Merge pull request #7 from ianmaddox/redis-4.0.6r0
Browse files Browse the repository at this point in the history
Fixing typo in env var
  • Loading branch information
smileisak authored Dec 17, 2017
2 parents 6e9cb6a + 1f28209 commit 8d37d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/alpine/redis-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ SLAVE_CONF=/etc/redis/slave.conf
# Adapt to dynamically named env vars
ENV_VAR_PREFIX=`echo $REDIS_CHART_PREFIX|awk '{print toupper($0)}'|sed 's/-/_/g'`
PORTVAR="${ENV_VAR_PREFIX}MASTER_SVC_SERVICE_PORT"
HOSTVAR="${ENV_VAR_PREFIX}MASTER_SVC_SERVICE_PORT"
HOSTVAR="${ENV_VAR_PREFIX}MASTER_SVC_SERVICE_HOST"
MASTER_LB_PORT="${!PORTVAR}"
MASTER_LB_HOST="${!HOSTVAR}"

Expand Down

0 comments on commit 8d37d35

Please sign in to comment.