From 7b764e18e6ced7ab4f83dbbf3a42681ed83e770e Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Mon, 2 Oct 2023 17:11:27 +0530 Subject: [PATCH] fix Signed-off-by: Shubham Gupta --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6d3915e..4f5131d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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_VAR = "node_ip_$(hostname | tr '-' '_')" + CLUSTER_ANNOUNCE_IP_VAR="node_ip_$(hostname | tr '-' '_')" CLUSTER_ANNOUNCE_IP="${!CLUSTER_ANNOUNCE_IP_VAR}" else CLUSTER_ANNOUNCE_IP="${POD_IP}"