Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
wcy-fdu committed Dec 7, 2023
1 parent bbfc899 commit 5a3e5da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/object_store/src/object/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -810,9 +810,8 @@ pub async fn build_remote_object_store(
.monitored(metrics),
)
}

obs if obs.starts_with("obs://") => {
let obs = obs.strip_prefix("oss://").unwrap();
let obs = obs.strip_prefix("obs://").unwrap();
let (bucket, root) = obs.split_once('@').unwrap_or((obs, ""));
ObjectStoreImpl::Opendal(
OpendalObjectStore::new_obs_engine(bucket.to_string(), root.to_string())
Expand Down

0 comments on commit 5a3e5da

Please sign in to comment.