mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 12:11:26 +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():
|
def restart():
|
||||||
subprocess.run(["systemctl", "restart", "prometheus.service"])
|
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
|
@staticmethod
|
||||||
def get_logs():
|
def get_logs():
|
||||||
return ""
|
return ""
|
||||||
|
|
Loading…
Reference in a new issue