mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
Update index.py
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user