feat(node): comment unused code
All checks were successful
Build and Push Image / Build and push image (push) Successful in 1m44s

This commit is contained in:
2025-05-27 15:54:51 +02:00
parent ca7af8e1f4
commit 3dd61ecc33

View File

@ -54,11 +54,11 @@ primaryHost=""
primaryPort=""
if [[ -f /etc/valkey/sentinel.conf ]]; then
primaryHost="$(awk '/monitor/ {print $4}' /etc/valkey/sentinel.conf)"
primaryPort="$(awk '/monitor/ {print $5}' /etc/valkey/sentinel.conf)"
echo "Found previous primary ${primaryHost}:${primaryPort}"
fi
#if [[ -f /etc/valkey/sentinel.conf ]]; then
# primaryHost="$(awk '/monitor/ {print $4}' /etc/valkey/sentinel.conf)"
# primaryPort="$(awk '/monitor/ {print $5}' /etc/valkey/sentinel.conf)"
# echo "Found previous primary ${primaryHost}:${primaryPort}"
#fi
if [[ ! -f /etc/valkey/replication.conf ]]; then
cp /etc/valkey/replication.conf.orig /etc/valkey/replication.conf