mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2025-04-08 09:54:05 +00:00
admin_token_table: implement is_tombstone()
This commit is contained in:
parent
eb40475f1e
commit
325f79012c
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,9 @@ impl Entry<EmptyKey, String> for AdminApiToken {
|
|||
fn sort_key(&self) -> &String {
|
||||
&self.prefix
|
||||
}
|
||||
fn is_tombstone(&self) -> bool {
|
||||
self.is_deleted()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct AdminApiTokenTable;
|
||||
|
|
Loading…
Reference in a new issue