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 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