From a13f2aebb61fc3bdc3e0c8514b2e65bbb89b8b8e Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Tue, 4 Apr 2023 19:44:17 +0000 Subject: [PATCH] Use --fail in curl --- multidim-interop/helpers/shouldUseCache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multidim-interop/helpers/shouldUseCache.sh b/multidim-interop/helpers/shouldUseCache.sh index fc8de4402..08922e09e 100755 --- a/multidim-interop/helpers/shouldUseCache.sh +++ b/multidim-interop/helpers/shouldUseCache.sh @@ -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