mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 04:01:27 +00:00
fix: Failed to get prometheus configuration
This commit is contained in:
parent
760e5137a5
commit
2e87d3c473
|
@ -67,14 +67,6 @@ class Prometheus(Service):
|
|||
def restart():
|
||||
subprocess.run(["systemctl", "restart", "prometheus.service"])
|
||||
|
||||
@staticmethod
|
||||
def get_configuration(config_items):
|
||||
return {}
|
||||
|
||||
@staticmethod
|
||||
def set_configuration(config_items):
|
||||
return super().set_configuration(config_items)
|
||||
|
||||
@staticmethod
|
||||
def get_logs():
|
||||
return ""
|
||||
|
|
Loading…
Reference in a new issue