forked from Deuxfleurs/garage
oops
This commit is contained in:
parent
f8a04852a2
commit
173f0dbac9
2 changed files with 2 additions and 1 deletions
src
|
@ -258,6 +258,7 @@ impl AdminRpcHandler {
|
||||||
"Bucket is deleted in update_bucket_key"
|
"Bucket is deleted in update_bucket_key"
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
self.garage.bucket_table.insert(&bucket).await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ pub struct LWWMap<K, V> {
|
||||||
impl<K, V> LWWMap<K, V>
|
impl<K, V> LWWMap<K, V>
|
||||||
where
|
where
|
||||||
K: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + Ord,
|
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 {
|
pub fn new() -> Self {
|
||||||
Self { vals: vec![] }
|
Self { vals: vec![] }
|
||||||
|
|
Loading…
Reference in a new issue