fix: Failed to get prometheus configuration

This commit is contained in:
Inex Code 2024-07-26 18:53:27 +03:00
parent 760e5137a5
commit 2e87d3c473

View file

@ -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 ""