diff --git a/examples/common/scripts/consul-up.sh b/examples/common/scripts/consul-up.sh index fb75495b278..0ce571e4330 100755 --- a/examples/common/scripts/consul-up.sh +++ b/examples/common/scripts/consul-up.sh @@ -43,7 +43,7 @@ sleep 5 echo "add ${cell} CellInfo" set +e # shellcheck disable=SC2086 -command vtctldclient --server internal --topo-implementation consul --topo-global-server "${CONSUL_SERVER}:${consul_http_port}" AddCellInfo \ +command vtctldclient --server internal --topo-implementation consul --topo-global-server-address "${CONSUL_SERVER}:${consul_http_port}" AddCellInfo \ --root "/vitess/${cell}" \ --server-address "${CONSUL_SERVER}:${consul_http_port}" \ "${cell}" diff --git a/examples/common/scripts/zk-up.sh b/examples/common/scripts/zk-up.sh index 2b79053d2f6..143a704cbb4 100755 --- a/examples/common/scripts/zk-up.sh +++ b/examples/common/scripts/zk-up.sh @@ -51,8 +51,7 @@ echo "Started zk servers." # Add the CellInfo description for the $CELL cell. # If the node already exists, it's fine, means we used existing data. set +e -# shellcheck disable=SC2086 -command vtctldclient --server internal --topo-implementation zk2 --topo-global-server "${ZK_SERVER}" AddCellInfo \ +command vtctldclient --server internal --topo-implementation zk2 --topo-global-server-address "${ZK_SERVER}" AddCellInfo \ --root "/vitess/${cell}" \ --server-address "${ZK_SERVER}" \ "${cell}"