merge versioning, fix bug todo

This commit is contained in:
weisd
2024-11-02 00:21:10 +08:00
parent 28dc7379a6
commit 09ea11c13d
65 changed files with 5187 additions and 1966 deletions
+2 -3
View File
@@ -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))