mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-24 11:36:31 +00:00
admin_token_table: implement is_tombstone()
This commit is contained in:
@@ -139,6 +139,9 @@ impl Entry<EmptyKey, String> for AdminApiToken {
|
|||||||
fn sort_key(&self) -> &String {
|
fn sort_key(&self) -> &String {
|
||||||
&self.prefix
|
&self.prefix
|
||||||
}
|
}
|
||||||
|
fn is_tombstone(&self) -> bool {
|
||||||
|
self.is_deleted()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct AdminApiTokenTable;
|
pub struct AdminApiTokenTable;
|
||||||
|
|||||||
Reference in New Issue
Block a user