aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3/checksum.rs
diff options
context:
space:
mode:
authorStefan Majer <stefan.majer@f-i-ts.de>2025-01-16 13:22:00 +0100
committerStefan Majer <stefan.majer@f-i-ts.de>2025-01-16 13:22:00 +0100
commit2eb9fcae20cb7e41b1197f4565db492a97f95736 (patch)
treebe9b2912ae92b07ef5e7905372b1bc2a542234c6 /src/api/s3/checksum.rs
parent255b01b626096ef98cf24c9552b39c0372fb4eb3 (diff)
downloadgarage-2eb9fcae20cb7e41b1197f4565db492a97f95736.tar.gz
garage-2eb9fcae20cb7e41b1197f4565db492a97f95736.zip
Fix all typos
Diffstat (limited to 'src/api/s3/checksum.rs')
-rw-r--r--src/api/s3/checksum.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/s3/checksum.rs b/src/api/s3/checksum.rs
index c9dc001c..c7527163 100644
--- a/src/api/s3/checksum.rs
+++ b/src/api/s3/checksum.rs
@@ -340,8 +340,8 @@ pub(crate) fn request_checksum_value(
Ok(ret.pop())
}
-/// Checks for the presense of x-amz-checksum-algorithm
-/// if so extract the corrseponding x-amz-checksum-* value
+/// Checks for the presence of x-amz-checksum-algorithm
+/// if so extract the corresponding x-amz-checksum-* value
pub(crate) fn request_checksum_algorithm_value(
headers: &HeaderMap<HeaderValue>,
) -> Result<Option<ChecksumValue>, Error> {