Update index.py

pull/561/head
Mr Chen 1 year ago
parent 869843da82
commit dc59f24ce2
  1. 6
      plugins/mongodb/index.py

@ -482,7 +482,11 @@ def runDocInfo():
def runReplInfo():
client = mongdbClient()
db = client.admin
serverStatus = db.command('serverStatus')
try:
serverStatus = db.command('serverStatus')
except Exception as e:
return mw.returnJson(False, str(e))
d = getConfigData()
result = {}

Loading…
Cancel
Save