From f88e283cf819ccb3ecf0ede148b1e2b4e48c77d6 Mon Sep 17 00:00:00 2001 From: Alexander Weiss Date: Tue, 24 Dec 2024 23:27:51 +0100 Subject: [PATCH] fix metakey --- crates/backend/src/opendal.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/backend/src/opendal.rs b/crates/backend/src/opendal.rs index 049e16b0..3fa6611f 100644 --- a/crates/backend/src/opendal.rs +++ b/crates/backend/src/opendal.rs @@ -6,7 +6,7 @@ use bytesize::ByteSize; use log::{error, trace}; use opendal::{ layers::{BlockingLayer, ConcurrentLimitLayer, LoggingLayer, RetryLayer, ThrottleLayer}, - BlockingOperator, Metakey, Operator, Scheme, + BlockingOperator, Operator, Scheme, }; use rayon::prelude::{IntoParallelIterator, ParallelIterator}; use tokio::runtime::Runtime; @@ -297,7 +297,6 @@ impl ReadBackend for OpenDALBackend { .operator .list_with(&path) .recursive(true) - .metakey(Metakey::ContentLength) .call() .map_err(|err| RusticError::with_source(