Skip to content

Commit

Permalink
chore: fix name typo in oss backend (#1316)
Browse files Browse the repository at this point in the history
fix name typo
  • Loading branch information
wcy-fdu authored Feb 10, 2023
1 parent fb4ac35 commit 747b523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/oss/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ impl Accessor for OssBackend {
}

async fn delete(&self, path: &str, _: OpDelete) -> Result<RpDelete> {
let resp = self.obs_delete_object(path).await?;
let resp = self.oss_delete_object(path).await?;
let status = resp.status();
match status {
StatusCode::NO_CONTENT | StatusCode::NOT_FOUND => {
Expand Down Expand Up @@ -668,7 +668,7 @@ impl OssBackend {
self.client.send_async(req).await
}

async fn obs_delete_object(&self, path: &str) -> Result<Response<IncomingAsyncBody>> {
async fn oss_delete_object(&self, path: &str) -> Result<Response<IncomingAsyncBody>> {
let mut req = self.oss_delete_object_request(path)?;
self.signer.sign(&mut req).map_err(new_request_sign_error)?;
self.client.send_async(req).await
Expand Down

2 comments on commit 747b523

@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-gkr5qxoce-databend.vercel.app

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

@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.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 747b523 Previous: fb4ac35 Ratio
service_fs_read_full/256 KiB 842739 ns/iter (± 247470) 395452 ns/iter (± 145278) 2.13
service_memory_read_full/256 KiB 35081 ns/iter (± 2274) 14431 ns/iter (± 480) 2.43
service_memory_write_once/256 KiB 103671 ns/iter (± 6032) 45139 ns/iter (± 1299) 2.30

This comment was automatically generated by workflow using github-action-benchmark.

CC: @Xuanwo

Please sign in to comment.