From 0e98e114fa8572a3a2fc232aebf7c4b7e4c99540 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 6 May 2024 00:16:51 +0800 Subject: [PATCH] Update index.py --- plugins/mongodb/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index 95a3311e6..1163c566b 100755 --- a/plugins/mongodb/index.py +++ b/plugins/mongodb/index.py @@ -22,6 +22,7 @@ if mw.isAppleSystem(): # python3 /www/server/mdserver-web/plugins/mongodb/index.py repl_init # python3 /www/server/mdserver-web/plugins/mongodb/index.py run_repl_info +# python3 /www/server/mdserver-web/plugins/mongodb/index.py test_data def getPluginName(): return 'mongodb' @@ -979,7 +980,7 @@ def replSetName(): d['replication']['replSetName'] = args['name'] setConfig(d) restart() - + return mw.returnJson(True, '设置成功!') def replSetNode():