object_table: merge checksum_algorithm and checksum_type for Uploading state

This commit is contained in:
Alex Auvolat
2025-05-22 16:20:58 +02:00
parent e475c7f802
commit fbb40c4ea0
5 changed files with 39 additions and 35 deletions
-1
View File
@@ -244,7 +244,6 @@ pub(crate) async fn save_stream<S: Stream<Item = Result<Bytes, Error>> + Unpin>(
state: ObjectVersionState::Uploading {
encryption: encryption.encrypt_meta(meta.clone())?,
checksum_algorithm: None, // don't care; overwritten later
checksum_type: None,
multipart: false,
},
};