fix: Forbid backups for prometheus

This commit is contained in:
Inex Code 2024-07-26 18:56:17 +03:00
parent 2e87d3c473
commit 5e6f343e83

View file

@ -47,6 +47,10 @@ class Prometheus(Service):
def is_required() -> bool:
return True
@staticmethod
def can_be_backed_up() -> bool:
return False
@staticmethod
def get_backup_description() -> str:
return "Backups are not available for Prometheus."