Skip to content

Commit

Permalink
Merge pull request #6 from ianmaddox/redis-4.0.6r0
Browse files Browse the repository at this point in the history
Changed env vars to match chart file rename
  • Loading branch information
Vic Iglesias committed Dec 16, 2017
2 parents e5731f1 + 3064bcc commit 6e9cb6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redis/alpine/redis-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ 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_APPLIANCE_VPC_SERVICE_PORT"
HOSTVAR="${ENV_VAR_PREFIX}MASTER_APPLIANCE_VPC_SERVICE_HOST"
PORTVAR="${ENV_VAR_PREFIX}MASTER_SVC_SERVICE_PORT"
HOSTVAR="${ENV_VAR_PREFIX}MASTER_SVC_SERVICE_PORT"
MASTER_LB_PORT="${!PORTVAR}"
MASTER_LB_HOST="${!HOSTVAR}"

Expand Down

0 comments on commit 6e9cb6a

Please sign in to comment.