From ea16f40f0c0966be4db60a357db88936f5f628b4 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Mon, 20 Mar 2023 13:18:52 +0530 Subject: [PATCH] fix: Fix command interpolation error in replicaSet check (#21469) If the replicaSet check fails, we see the following error: ``` readWrite command not found ``` This is because of using the command interpolation backticks in the double-quoted string. --- deploy/docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/docker/entrypoint.sh b/deploy/docker/entrypoint.sh index 9d8841f0cc..91b1f88669 100755 --- a/deploy/docker/entrypoint.sh +++ b/deploy/docker/entrypoint.sh @@ -189,7 +189,7 @@ init_replica_set() { else echo -e "\033[0;31m***************************************************************************************\033[0m" echo -e "\033[0;31m* MongoDB Replica Set is not enabled *\033[0m" - echo -e "\033[0;31m* Please ensure the credentials provided for MongoDB, has `readWrite` role. *\033[0m" + echo -e "\033[0;31m* Please ensure the credentials provided for MongoDB, has 'readWrite' role. *\033[0m" echo -e "\033[0;31m***************************************************************************************\033[0m" exit 1 fi