diff options
Diffstat (limited to 'db/repl/heartbeat.cpp')
-rw-r--r-- | db/repl/heartbeat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl/heartbeat.cpp b/db/repl/heartbeat.cpp index 4f28897..b39fad7 100644 --- a/db/repl/heartbeat.cpp +++ b/db/repl/heartbeat.cpp @@ -134,7 +134,7 @@ namespace mongo { assert( theReplSet == 0 || !theReplSet->lockedByMe() ); ScopedConn conn(memberFullName); - return conn->runCommand("admin", cmd, result); + return conn.runCommand("admin", cmd, result, 0); } /* poll every other set member to check its status */ |