Update index.py

pull/561/head
Mr Chen 1 year ago
parent 01055e3403
commit 869843da82
  1. 7
      plugins/mongodb/index.py

@ -454,6 +454,13 @@ def runDocInfo():
client = mongdbClient()
db = client.admin
# print(db)
try:
serverStatus = db.command('serverStatus')
except Exception as e:
return mw.returnJson(False, str(e))
serverStatus = db.command('serverStatus')
listDbs = client.list_database_names()

Loading…
Cancel
Save