From 6ad415fa5ad45093159bb9a5423cb93ec77b1957 Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 2 Aug 2025 19:48:28 +0800 Subject: [PATCH] Update index.py --- plugins/prometheus/index.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/prometheus/index.py b/plugins/prometheus/index.py index 5b97e9218..bbf0e9db0 100755 --- a/plugins/prometheus/index.py +++ b/plugins/prometheus/index.py @@ -42,7 +42,7 @@ def getInitDFile(): def getConf(): - path = getServerDir() + "/prometheus.yaml" + path = getServerDir() + "/prometheus.yml" return path @@ -224,8 +224,6 @@ if __name__ == "__main__": print(uninstallPreInspection()) elif func == 'conf': print(getConf()) - elif func == 'run_log': - print(runLog()) elif func == 'prometheus_url': print(prometheusUrl()) else: