feat:#165 copyobject v1

This commit is contained in:
weisd
2024-12-30 13:59:14 +08:00
parent db5b247d58
commit 47f365d385
11 changed files with 671 additions and 161 deletions
+1 -7
View File
@@ -117,13 +117,7 @@ impl Store for ObjectStore {
debug!("load iam config, path: {}", path.as_ref());
let mut reader = self
.object_api
.get_object_reader(
Self::BUCKET_NAME,
path.as_ref(),
HTTPRangeSpec::nil(),
Default::default(),
&Default::default(),
)
.get_object_reader(Self::BUCKET_NAME, path.as_ref(), None, Default::default(), &Default::default())
.await
.map_err(crate::Error::EcstoreError)?;