summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/isself.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2014-06-27 13:49:24 -0400
committerAndy Schwerin <schwerin@mongodb.com>2014-06-30 19:02:35 -0400
commit1a49d864f34812f73c10b8e0b30c15150cb6ca69 (patch)
treed2616c45c978ef14b0e65cfc11a71cee439ee3fe /src/mongo/db/commands/isself.cpp
parent7a0d83d88d18d5c28fe13bd5dc0b13d1c6c2ef22 (diff)
downloadmongo-1a49d864f34812f73c10b8e0b30c15150cb6ca69.tar.gz
SERVER-14367 Preparation for removing some implicit conversion and other methods of HostAndPort.
The setPort and implicit conversion operators are going away. This path fixes their existing users.
Diffstat (limited to 'src/mongo/db/commands/isself.cpp')
-rw-r--r--src/mongo/db/commands/isself.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/isself.cpp b/src/mongo/db/commands/isself.cpp
index 6c91db9dfa2..3c95e2ed2d3 100644
--- a/src/mongo/db/commands/isself.cpp
+++ b/src/mongo/db/commands/isself.cpp
@@ -255,7 +255,7 @@ namespace mongo {
isSelfCommand.init();
DBClientConnection conn;
string errmsg;
- if ( ! conn.connect( host , errmsg ) ) {
+ if ( ! conn.connect( *this , errmsg ) ) {
// should this go in the cache?
return false;
}