mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:39:25 +08:00
Update index.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user