Skip to content

Commit a9cd275

Browse files
author
michael stack
committed
Fix 'ERROR: unknown option: `'' when no options supplied.
Bug introduced by recent refactor adding being able to specify storage as an option. Found by Paymaan Raza.
1 parent 29aa68a commit a9cd275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/loopback_cluster/run_custom_cluster.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ STATELESS_COUNT=4
99
REPLICATION_COUNT=1
1010
LOGS_COUNT=8
1111
STORAGE_COUNT=16
12-
KNOBS=""
12+
KNOBS=
1313
LOGS_TASKSET=""
1414
STATELESS_TASKSET=""
1515
STORAGE_TASKSET=""
@@ -52,7 +52,7 @@ function start_servers {
5252
fi
5353
local port=$(( PORT_PREFIX + SERVER_COUNT ))
5454
local zone="${4}-Z-$(( j % REPLICATION_COUNT ))"
55-
${2} "${FDB}" -p auto:"${port}" "${KNOBS}" -c "${3}" \
55+
${2} "${FDB}" -p auto:"${port}" ${KNOBS:+"$KNOBS"} -c "${3}" \
5656
-d "${datadir}" -L "${logdir}" -C "${CLUSTER}" \
5757
--datacenter_id="${4}" \
5858
--locality-zoneid "${zone}" \

0 commit comments

Comments
 (0)