This is an automated email from the ASF dual-hosted git repository. xuanwo pushed a commit to branch polish-lister in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit 2729c785156a4d81a94332cea91907c0658d72b8 Author: Xuanwo <[email protected]> AuthorDate: Wed Nov 15 23:36:17 2023 +0800 Fix blocking Signed-off-by: Xuanwo <[email protected]> --- core/src/layers/blocking.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/layers/blocking.rs b/core/src/layers/blocking.rs index 3b167a491..f1dbac2e0 100644 --- a/core/src/layers/blocking.rs +++ b/core/src/layers/blocking.rs @@ -315,8 +315,7 @@ impl<I: oio::Write + 'static> oio::BlockingWrite for BlockingWrapper<I> { impl<I: oio::List> oio::BlockingList for BlockingWrapper<I> { fn next(&mut self) -> Result<Option<oio::Entry>> { - todo!() - // self.handle.block_on(poll_fn(|cx| self.inner.poll_next(cx))) + self.handle.block_on(poll_fn(|cx| self.inner.poll_next(cx))) } }
