Skip to content

Commit

Permalink
fix: Extra space after if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
KShivendu committed Dec 11, 2023
1 parent 92ded36 commit b37da8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/run_server_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ IP_OF_THE_SERVER=$(bash "${SCRIPT_PATH}/${CLOUD_NAME}/get_public_ip.sh" "$BENCH_
bash -x "${SCRIPT_PATH}/sync_servers.sh" "root@$IP_OF_THE_SERVER"

# if version is dev or if starts with "docker", run in docker
if [ "${QDRANT_VERSION}" == "dev"] || [[ ${QDRANT_VERSION} == docker/* ]]; then
if [ "${QDRANT_VERSION}" == "dev" ] || [[ ${QDRANT_VERSION} == docker/* ]]; then
QDRANT_VERSION=${QDRANT_VERSION#docker/}
DOCKER_COMPOSE="export QDRANT_VERSION=${QDRANT_VERSION}; docker compose down ; pkill qdrant ; docker rmi qdrant/qdrant:${QDRANT_VERSION} || true ; docker compose up -d"
ssh -t "${SERVER_USERNAME}@${IP_OF_THE_SERVER}" "cd ./projects/vector-db-benchmark/engine/servers/${CONTAINER_NAME} ; $DOCKER_COMPOSE"
Expand Down

0 comments on commit b37da8b

Please sign in to comment.