Skip to content

Commit

Permalink
fix env change (#55)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk authored Oct 2, 2023
1 parent d525d67 commit c5ed455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ start_redis() {
if [[ "${SETUP_MODE}" == "cluster" ]]; then
echo "Starting redis service in cluster mode....."
if [[ "${NODEPORT}" == "true" ]]; then
CLUSTER_ANNOUNCE_IP="node-ip-$(hostname)"
CLUSTER_ANNOUNCE_IP="${!node-ip-$(hostname)}"
else
CLUSTER_ANNOUNCE_IP="${POD_IP}"
fi
Expand Down

0 comments on commit c5ed455

Please sign in to comment.