aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3_put.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-12 11:41:20 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-13 14:03:33 +0100
commitf7349f40050dfb5dc4f4f49df5732686c8d846ba (patch)
treed471d9968dbbe1823198443ee3c81834083b886c /src/api/s3_put.rs
parent1ee8f596ee6792b987b07dc08617feb4a3480c1a (diff)
downloadgarage-f7349f40050dfb5dc4f4f49df5732686c8d846ba.tar.gz
garage-f7349f40050dfb5dc4f4f49df5732686c8d846ba.zip
Add quotes in returned etagsimprove-copies
Diffstat (limited to 'src/api/s3_put.rs')
-rw-r--r--src/api/s3_put.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3_put.rs b/src/api/s3_put.rs
index 421b94a1..37658172 100644
--- a/src/api/s3_put.rs
+++ b/src/api/s3_put.rs
@@ -532,7 +532,7 @@ pub async fn handle_complete_multipart_upload(
location: None,
bucket: s3_xml::Value(bucket_name.to_string()),
key: s3_xml::Value(key),
- etag: s3_xml::Value(etag),
+ etag: s3_xml::Value(format!("\"{}\"", etag)),
};
let xml = s3_xml::to_xml_with_header(&result)?;