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

pull/35/head
Houkime 2023-06-26 19:29:20 +00:00 committed by Inex Code
parent 6004977845
commit f804c88fa6
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