Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Fix syntax error in sample data load script #869

Merged
merged 2 commits into from
Aug 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion load_sample_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down