mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 13:31:27 +00:00
fix: Forbid backups for prometheus
This commit is contained in:
parent
2e87d3c473
commit
5e6f343e83
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue