diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2015-03-31 18:59:28 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2015-04-01 16:35:06 -0400 |
commit | b686c650a8dd627953a3a6687aac2df3dbcc4e59 (patch) | |
tree | 076ed2f6b6dad56aaed2790465daa71177be6f78 /src/mongo/s/request.cpp | |
parent | 937b2bdc5b85095734a9cc08fccc9a8586e871cd (diff) | |
download | mongo-b686c650a8dd627953a3a6687aac2df3dbcc4e59.tar.gz |
SERVER-17817 Remove ClientInfo::getRemote in favor of parent class's implementation.
Diffstat (limited to 'src/mongo/s/request.cpp')
-rw-r--r-- | src/mongo/s/request.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/s/request.cpp b/src/mongo/s/request.cpp index e1f6b322f40..d00197c8350 100644 --- a/src/mongo/s/request.cpp +++ b/src/mongo/s/request.cpp @@ -57,12 +57,7 @@ namespace mongo { _id(_m.header().getId()), _didInit(false) { - if (p) { - _clientInfo->newPeerRequest(p->remote()); - } - else { - _clientInfo->newRequest(); - } + _clientInfo->newRequest(); } void Request::init() { |