Skip to content

Commit 4f3de05

Browse files
authored
chore(oceanbase-ce): wire dynamic parameter reload action (#2965)
1 parent 85c9427 commit 4f3de05

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

addons/oceanbase-ce/reloader/update-parameters.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#!/bin/sh
22
set -ex
33

4-
OB_CLI="/kb_tools/obtools"
4+
if [ -x "/kb_reload_tools/obtools" ]; then
5+
OB_CLI="/kb_reload_tools/obtools"
6+
else
7+
OB_CLI="/kb_tools/obtools"
8+
fi
59
paramName="${1:?missing config}"
610
paramValue="${2:?missing value}"
711

0 commit comments

Comments
 (0)