feat(node): comment unused code
Some checks failed
Build and Push Image / Build and push image (push) Failing after 1m4s
Some checks failed
Build and Push Image / Build and push image (push) Failing after 1m4s
This commit is contained in:
parent
004cd98224
commit
36e6cd84f9
@ -54,11 +54,11 @@ primaryHost=""
|
|||||||
primaryPort=""
|
primaryPort=""
|
||||||
|
|
||||||
|
|
||||||
if [[ -f /etc/valkey/sentinel.conf ]]; then
|
#if [[ -f /etc/valkey/sentinel.conf ]]; then
|
||||||
primaryHost="$(awk '/monitor/ {print $4}' /etc/valkey/sentinel.conf)"
|
# primaryHost="$(awk '/monitor/ {print $4}' /etc/valkey/sentinel.conf)"
|
||||||
primaryPort="$(awk '/monitor/ {print $5}' /etc/valkey/sentinel.conf)"
|
# primaryPort="$(awk '/monitor/ {print $5}' /etc/valkey/sentinel.conf)"
|
||||||
echo "Found previous primary ${primaryHost}:${primaryPort}"
|
# echo "Found previous primary ${primaryHost}:${primaryPort}"
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
if [[ ! -f /etc/valkey/replication.conf ]]; then
|
if [[ ! -f /etc/valkey/replication.conf ]]; then
|
||||||
cp /etc/valkey/replication.conf.orig /etc/valkey/replication.conf
|
cp /etc/valkey/replication.conf.orig /etc/valkey/replication.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user