From b2e9c10f474efeb7a68c6aacafcc432a8922f310 Mon Sep 17 00:00:00 2001 From: zwang28 <84491488@qq.com> Date: Fri, 27 Sep 2024 12:47:02 +0800 Subject: [PATCH] fixup --- src/object_store/src/object/s3.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/object_store/src/object/s3.rs b/src/object_store/src/object/s3.rs index 81aa44c1f8db8..caf2b6fe1a318 100644 --- a/src/object_store/src/object/s3.rs +++ b/src/object_store/src/object/s3.rs @@ -1013,8 +1013,8 @@ impl Stream for S3ObjectIter { .list_objects_v2() .bucket(&self.bucket) .prefix(&self.prefix); - if cfg!(not(madsim)) { - if let Some(start_after) = self.start_after.as_ref() { + if let Some(start_after) = self.start_after.as_ref() { + if cfg!(not(madsim)) { request = request.start_after(start_after); } }