From 40bc9798a9f17f76964d40cca74782ec9a09cb02 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 29 Nov 2024 17:44:05 +0800 Subject: [PATCH] Update index.py --- plugins/mongodb/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index 6a54f7b1a..ee4e752c4 100755 --- a/plugins/mongodb/index.py +++ b/plugins/mongodb/index.py @@ -1526,7 +1526,7 @@ def runLog(): def installPreInspectionDebainCheck(sysId,version): - if version.startswidth('8.0'): + if version == '8.0': if sysId != '12': return "[%s]需要debain[12]" % (version,) return ''