diff options
author | Alex Auvolat <alex@adnab.me> | 2020-11-20 21:15:24 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-11-20 23:53:54 +0100 |
commit | e02e9e035e269cd6b660c92706db424a2edb5306 (patch) | |
tree | cee743c465538614a4e31f86f56df4858bde2f54 /src/api | |
parent | 5dc304ac41c2ae0699fbdd56117b60c517a1ad39 (diff) | |
download | garage-e02e9e035e269cd6b660c92706db424a2edb5306.tar.gz garage-e02e9e035e269cd6b660c92706db424a2edb5306.zip |
Begin improve model to use better CRDTs
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/signature.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/signature.rs b/src/api/signature.rs index 402b1881..0ee47961 100644 --- a/src/api/signature.rs +++ b/src/api/signature.rs @@ -68,7 +68,7 @@ pub async fn check_signature( .key_table .get(&EmptyKey, &authorization.key_id) .await? - .filter(|k| !k.deleted) + .filter(|k| !k.deleted.get()) .ok_or(Error::Forbidden(format!( "No such key: {}", authorization.key_id |