Skip to content

Commit

Permalink
FIx test
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed Feb 11, 2023
1 parent 381254d commit b42f7f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/obs/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ impl Accessor for ObsBackend {
async fn list(&self, path: &str, args: OpList) -> Result<(RpList, Self::Pager)> {
Ok((
RpList::default(),
DirStream::new(Arc::new(self.clone()), &self.root, path, "", args.limit()),
DirStream::new(Arc::new(self.clone()), &self.root, path, "/", args.limit()),
))
}

Expand Down
2 changes: 1 addition & 1 deletion src/services/s3/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ impl Accessor for S3Backend {
async fn scan(&self, path: &str, args: OpScan) -> Result<(RpScan, Self::Pager)> {
Ok((
RpScan::default(),
DirStream::new(Arc::new(self.clone()), &self.root, path, "/", args.limit()),
DirStream::new(Arc::new(self.clone()), &self.root, path, "", args.limit()),
))
}

Expand Down

1 comment on commit b42f7f9

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for opendal ready!

✅ Preview
https://opendal-lhgs676n5-databend.vercel.app
https://opendal-git-refactor-scan.vercel.app

Built with commit b42f7f9.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.