mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-21 11:56:38 +00:00
feat:#165 copyobject v1
This commit is contained in:
@@ -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)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user