Skip to content

Commit

Permalink
remove changes introduced by merge
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Sep 19, 2024
1 parent 472d3b1 commit 0ad25fb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions kubernetes/loculus/silo_import_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ download_data() {
http_status_code=$(curl -o "$new_input_data_path" --fail-with-body "$released_data_endpoint" -H "If-None-Match: $last_etag" -D "$new_input_header_path" -w "%{http_code}")
exit_code=$?
set -e

echo "Release data request returned with http status code: $http_status_code"
if [ "$http_status_code" -eq 304 ]; then
echo "State in Loculus backend has not changed: HTTP 304 Not Modified."
Expand All @@ -102,11 +103,6 @@ download_data() {
echo "etag from header: $etag"
echo "$etag" > "$new_etag_path"

echo "Header from response: $(cat "$new_input_header_path")"
etag=$(grep -i '^etag:' "$new_input_header_path" | awk '{print $2}')
echo "etag from header: $etag"
echo "$etag" > "$new_etag_path"

echo "downloaded sequences"
ls -l "$new_input_data_dir"

Expand Down

0 comments on commit 0ad25fb

Please sign in to comment.