From 7398cc3e67aa0dd9e05cb374facfde9e61c5c5f1 Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali Date: Sun, 31 Jul 2022 10:37:02 +0530 Subject: [PATCH 1/2] Add a newline to the cURL output --- justfile | 1 + 1 file changed, 1 insertion(+) diff --git a/justfile b/justfile index 731354318..cce9b24b7 100644 --- a/justfile +++ b/justfile @@ -141,6 +141,7 @@ _ing-api data port="8001": -X POST \ -H 'Content-Type: application/json' \ -d '{{ data }}' \ + -w "\n" \ 'http://localhost:{{ port }}/task' # Check the health of the ingestion-server From fde670fd2c575bc126ac42687a7fd54c881c1e6f Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali Date: Sun, 31 Jul 2022 10:37:30 +0530 Subject: [PATCH 2/2] Add the missing space after `[` --- load_sample_data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/load_sample_data.sh b/load_sample_data.sh index 980c384ea..46faf6899 100755 --- a/load_sample_data.sh +++ b/load_sample_data.sh @@ -113,7 +113,7 @@ set +e while true; do just ingest-upstream "image" "init" just wait-for-index "image-init" - if [$? -eq 0 ]; then + if [ $? -eq 0 ]; then break fi ((c++)) && ((c==3)) && break