diff --git a/rustfs/src/storage/ecfs.rs b/rustfs/src/storage/ecfs.rs index 422a1d2c8..79eaaf3a1 100644 --- a/rustfs/src/storage/ecfs.rs +++ b/rustfs/src/storage/ecfs.rs @@ -952,7 +952,7 @@ impl S3 for FS { return Err(S3Error::with_message(S3ErrorCode::InternalError, "Not init".to_string())); }; - store + let oi = store .complete_multipart_upload(&bucket, &key, &upload_id, uploaded_parts, opts) .await .map_err(to_s3_error)?; @@ -960,6 +960,7 @@ impl S3 for FS { let output = CompleteMultipartUploadOutput { bucket: Some(bucket), key: Some(key), + e_tag: oi.etag, ..Default::default() }; Ok(S3Response::new(output))