From 3db40877cd642a268372913be2d32d8440ee09ce Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 4 May 2024 15:24:44 +0800 Subject: [PATCH] Update index.py --- plugins/mongodb/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index 6812e88f9..9fbd75de6 100755 --- a/plugins/mongodb/index.py +++ b/plugins/mongodb/index.py @@ -1019,6 +1019,7 @@ def replInit(): c['security']['replSetName'] = name setReplConfigData(c) + restart() if len(nodes) == 0: return mw.returnJson(False, '节点不能为空!')