mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -1019,6 +1019,7 @@ def replInit():
|
||||
|
||||
c['security']['replSetName'] = name
|
||||
setReplConfigData(c)
|
||||
restart()
|
||||
|
||||
if len(nodes) == 0:
|
||||
return mw.returnJson(False, '节点不能为空!')
|
||||
|
||||
Reference in New Issue
Block a user