Skip to content

Commit

Permalink
Use --fail in curl
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Apr 4, 2023
1 parent cc1e261 commit a13f2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multidim-interop/helpers/shouldUseCache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ if docker image inspect $IMAGE_NAME -f "{{.Id}}" &> /dev/null; then
exit 1;
fi

curl --fail-with-body --head https://s3.amazonaws.com/$AWS_BUCKET/imageCache/$BUILD_CACHE_KEY.tar.gz &> /dev/null
curl --fail --head https://s3.amazonaws.com/$AWS_BUCKET/imageCache/$BUILD_CACHE_KEY.tar.gz &> /dev/null

0 comments on commit a13f2ae

Please sign in to comment.