uppercase fix for versitygw

This commit is contained in:
Luke McCrone
2025-03-28 19:19:19 -03:00
parent 7d4076b944
commit 605e6b83f6
+1 -5
View File
@@ -361,11 +361,7 @@ check_checksum_rest_incorrect() {
log 2 "error setting up bucket and file"
return 1
fi
if [ "$DIRECT" == "true" ]; then
error_cs_str="$(echo "$1" | tr '[:lower:]' '[:upper:]')"
else
error_cs_str="$1"
fi
error_cs_str="$(echo "$1" | tr '[:lower:]' '[:upper:]')"
error_message="The $error_cs_str you specified did not match the calculated checksum."
if ! calculate_incorrect_checksum "$1" "$(cat "$TEST_FILE_FOLDER/$test_file")"; then
log 2 "error calculating incorrect checksum"