From 4abd1df9428bd2997092bbb459f47455adc6695a Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 22 Oct 2023 18:12:32 +0800 Subject: [PATCH] Update index.py --- plugins/keepalived/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/keepalived/index.py b/plugins/keepalived/index.py index e04e65bef..dec8099c2 100755 --- a/plugins/keepalived/index.py +++ b/plugins/keepalived/index.py @@ -190,7 +190,7 @@ def runInfo(): requirepass = "" - conf = getServerDir() + '/redis.conf' + conf = getServerDir() + '/keepalived.conf' content = mw.readFile(conf) rep = "^(requirepass" + ')\s*([.0-9A-Za-z_& ~]+)' tmp = re.search(rep, content, re.M)