Update index.py

pull/563/head
Mr Chen 1 year ago
parent aa9a412e9a
commit c545062d07
  1. 2
      plugins/mongodb/index.py

@ -496,7 +496,7 @@ def runReplInfo():
d = getConfigData() d = getConfigData()
result = {} result = {}
if 'replSetName' in d['replication']: if 'replication' in d and 'replSetName' in d['replication']:
result['repl_name'] = d['replication']['replSetName'] result['repl_name'] = d['replication']['replSetName']
result['status'] = '' result['status'] = ''

Loading…
Cancel
Save