Update nosql_mongodb.py

pull/795/head
dami 4 weeks ago
parent 1c4140daec
commit 5c77dd91e7
  1. 2
      plugins/data_query/nosql_mongodb.py

@ -170,7 +170,7 @@ class nosqlMongodb():
keys = ["bind_ip", "port"]
result['host'] = '127.0.0.1'
rep = 'port\s*=\s*(.*)'
rep = r'port\s*=\s*(.*)'
ip_re = re.search(rep, mgdb_content)
if ip_re:
result['port'] = int(ip_re.groups()[0].strip())

Loading…
Cancel
Save