From bb2110f0bca16fd8c363f3559d650682ed34a05b Mon Sep 17 00:00:00 2001 From: He Wang Date: Sun, 29 Sep 2024 10:32:22 +0800 Subject: [PATCH] hotfix: add quotes to pass OB_CONFIGSERVER_ADDRESS correctly --- oceanbase-ce/boot/env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oceanbase-ce/boot/env.sh b/oceanbase-ce/boot/env.sh index 3fb9480..c8ac8c9 100755 --- a/oceanbase-ce/boot/env.sh +++ b/oceanbase-ce/boot/env.sh @@ -21,6 +21,6 @@ export OB_TENANT_INIT_SQL_DIR=${OB_TENANT_INIT_SQL_DIR:-/root/boot/init.d} export TELEMETRY_REPORTER="docker_${OB_CLUSTER_NAME}" -if [ -n $OB_CONFIGSERVER_ADDRESS ]; then +if [ -n "$OB_CONFIGSERVER_ADDRESS" ]; then export OB_CONFIGURL="${OB_CONFIGSERVER_ADDRESS}/services" fi