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:
@@ -1058,6 +1058,12 @@ def replInit():
|
||||
t = {}
|
||||
t['_id'] = x
|
||||
t['host'] = n['host']
|
||||
if 'priority' in n:
|
||||
t['priority'] = n['priority']
|
||||
|
||||
if 'arbiterOnly' in n and n['arbiterOnly'] == 1:
|
||||
t['arbiterOnly'] = True
|
||||
|
||||
cfg_node.append(t)
|
||||
|
||||
# print(cfg_node)
|
||||
|
||||
Reference in New Issue
Block a user