mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 10:43:15 +00:00
merge versioning, fix bug todo
This commit is contained in:
+2
-3
@@ -258,9 +258,6 @@ impl PeerS3Client for LocalPeerS3Client {
|
||||
}
|
||||
}
|
||||
|
||||
warn!("list_bucket ress {:?}", &ress);
|
||||
warn!("list_bucket errs {:?}", &errs);
|
||||
|
||||
let mut uniq_map: HashMap<&String, &VolumeInfo> = HashMap::new();
|
||||
|
||||
for info_list in ress.iter() {
|
||||
@@ -279,6 +276,7 @@ impl PeerS3Client for LocalPeerS3Client {
|
||||
.map(|&v| BucketInfo {
|
||||
name: v.name.clone(),
|
||||
created: v.created,
|
||||
..Default::default()
|
||||
})
|
||||
.collect();
|
||||
|
||||
@@ -352,6 +350,7 @@ impl PeerS3Client for LocalPeerS3Client {
|
||||
op.as_ref().map(|v| BucketInfo {
|
||||
name: v.name.clone(),
|
||||
created: v.created,
|
||||
..Default::default()
|
||||
})
|
||||
})
|
||||
.ok_or(Error::new(DiskError::VolumeNotFound))
|
||||
|
||||
Reference in New Issue
Block a user