Update index.py

This commit is contained in:
Mr Chen 2024-05-06 00:16:51 +08:00
parent 4c93cd77e0
commit 0e98e114fa
1 changed files with 2 additions and 1 deletions

View File

@ -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():