This commit is contained in:
Alex 2020-11-20 23:09:32 +01:00
parent f8a04852a2
commit 173f0dbac9
2 changed files with 2 additions and 1 deletions

View file

@ -258,6 +258,7 @@ impl AdminRpcHandler {
"Bucket is deleted in update_bucket_key"
)));
}
self.garage.bucket_table.insert(&bucket).await?;
Ok(())
}

View file

@ -97,7 +97,7 @@ pub struct LWWMap<K, V> {
impl<K, V> LWWMap<K, V>
where
K: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + Ord,
V: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + Ord,
V: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + CRDT,
{
pub fn new() -> Self {
Self { vals: vec![] }