refactor(backups): remove the by-service getting of cached snapshots

pull/35/head
Houkime 2023-06-26 19:29:20 +00:00
parent bae81b2f69
commit 7147f97077
1 changed files with 0 additions and 4 deletions

View File

@ -328,10 +328,6 @@ class Backups:
# expiring cache entry
Storage.cache_snapshot(snapshot)
@staticmethod
def get_cached_snapshots_service(service_id: str) -> List[Snapshot]:
snapshots = Storage.get_cached_snapshots()
return [snap for snap in snapshots if snap.service_name == service_id]
### Autobackup