Skip to content

Commit

Permalink
fix metakey
Browse files Browse the repository at this point in the history
  • Loading branch information
aawsome committed Dec 24, 2024
1 parent c72e0ff commit f88e283
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/backend/src/opendal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -297,7 +297,6 @@ impl ReadBackend for OpenDALBackend {
.operator
.list_with(&path)
.recursive(true)
.metakey(Metakey::ContentLength)
.call()
.map_err(|err|
RusticError::with_source(
Expand Down

0 comments on commit f88e283

Please sign in to comment.