Permalink
Browse files

Merge pull request #194 from jdponomarev/patch-1

Update plugins/mongodb/mongo_lag
  • Loading branch information...
kenyon committed Sep 30, 2012
2 parents 30341ad + c854b3b commit 7e30ed6457fdafafc2b92cfa625bed11f16cfdb1
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/mongodb/mongo_lag
@@ -25,7 +25,7 @@ import pymongo
def _get_members():
host = os.environ.get('host', '127.0.0.1')
port = os.environ.get('port', 27017)
- conn = pymongo.Connection(host)
+ conn = pymongo.Connection(host,port)
repl_status = conn.admin.command("replSetGetStatus")
members = {}

0 comments on commit 7e30ed6

Please sign in to comment.