Update index.py

pull/561/head
Mr Chen 1 year ago
parent 728677c702
commit 8c652c99da
  1. 6
      plugins/mongodb/index.py

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

Loading…
Cancel
Save