diff options
author | Alex Auvolat <alex@adnab.me> | 2022-01-12 11:41:20 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-13 14:03:33 +0100 |
commit | f7349f40050dfb5dc4f4f49df5732686c8d846ba (patch) | |
tree | d471d9968dbbe1823198443ee3c81834083b886c /src/api/s3_put.rs | |
parent | 1ee8f596ee6792b987b07dc08617feb4a3480c1a (diff) | |
download | garage-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.rs | 2 |
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)?; |