From 1e95ee45fdfad5dc2e8362e348bcac59f98e5759 Mon Sep 17 00:00:00 2001 From: Aleksandr Makarov Date: Thu, 9 Nov 2023 18:05:30 +0200 Subject: [PATCH 1/2] Fix typo in ENDPOINT_URL_ADDRESS variable --- ossperf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ossperf.sh b/ossperf.sh index f2a4d4a..487d5a8 100755 --- a/ossperf.sh +++ b/ossperf.sh @@ -993,7 +993,7 @@ else # If the variable $ENDPOINT_URL_ADDRESS is not empty... else # use the s4cmd cli with an S3-compatible non-Amazon service (e.g. Minio) - if s4cmd --endpoint-url="$ENDPOINT_URL_ADDRES" put $DIRECTORY/*.txt s3://$BUCKET ; then + if s4cmd --endpoint-url="$ENDPOINT_URL_ADDRESS" put $DIRECTORY/*.txt s3://$BUCKET/ -s -f ; then echo -e "${GREEN}[OK] Files have been uploaded sequentially with s4cmd.${NC}" else echo -e "${RED}[ERROR] Unable to upload the files sequentially with s4cmd.${NC}" && exit 1 From 57c77a120402d5e5fd1f759f71973ff19492b31b Mon Sep 17 00:00:00 2001 From: Aleksandr Makarov Date: Mon, 13 Nov 2023 12:55:09 +0200 Subject: [PATCH 2/2] Remove extra args --- ossperf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ossperf.sh b/ossperf.sh index 487d5a8..882f22d 100755 --- a/ossperf.sh +++ b/ossperf.sh @@ -993,7 +993,7 @@ else # If the variable $ENDPOINT_URL_ADDRESS is not empty... else # use the s4cmd cli with an S3-compatible non-Amazon service (e.g. Minio) - if s4cmd --endpoint-url="$ENDPOINT_URL_ADDRESS" put $DIRECTORY/*.txt s3://$BUCKET/ -s -f ; then + if s4cmd --endpoint-url="$ENDPOINT_URL_ADDRESS" put $DIRECTORY/*.txt s3://$BUCKET/ ; then echo -e "${GREEN}[OK] Files have been uploaded sequentially with s4cmd.${NC}" else echo -e "${RED}[ERROR] Unable to upload the files sequentially with s4cmd.${NC}" && exit 1