From e57b2d334f310e12db516367e1e7db4e5813eb35 Mon Sep 17 00:00:00 2001 From: Leon Tan Date: Tue, 22 Oct 2024 14:01:49 +0000 Subject: [PATCH] Remove chunk ids fix, will do that separetely --- .../frontend/ic-asset/src/batch_upload/operations.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/canisters/frontend/ic-asset/src/batch_upload/operations.rs b/src/canisters/frontend/ic-asset/src/batch_upload/operations.rs index 31ed3665ee..76d5e03066 100644 --- a/src/canisters/frontend/ic-asset/src/batch_upload/operations.rs +++ b/src/canisters/frontend/ic-asset/src/batch_upload/operations.rs @@ -172,8 +172,7 @@ pub(crate) async fn set_encodings( if v.already_in_place { continue; } - - let (mut chunk_ids, last_chunk) = match chunk_uploader { + let (chunk_ids, last_chunk) = match chunk_uploader { Some(uploader) => { uploader .uploader_ids_to_canister_chunk_ids(&v.uploader_chunk_ids) @@ -181,8 +180,6 @@ pub(crate) async fn set_encodings( } None => (vec![], None), }; - - chunk_ids.sort(); operations.push(BatchOperationKind::SetAssetContent( SetAssetContentArguments { key: key.clone(),