mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 04:01: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:
|
def is_required() -> bool:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def can_be_backed_up() -> bool:
|
||||||
|
return False
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_backup_description() -> str:
|
def get_backup_description() -> str:
|
||||||
return "Backups are not available for Prometheus."
|
return "Backups are not available for Prometheus."
|
||||||
|
|
Loading…
Reference in a new issue