summaryrefslogtreecommitdiff
path: root/src/mongo/s/request.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-03-31 18:59:28 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-01 16:35:06 -0400
commitb686c650a8dd627953a3a6687aac2df3dbcc4e59 (patch)
tree076ed2f6b6dad56aaed2790465daa71177be6f78 /src/mongo/s/request.cpp
parent937b2bdc5b85095734a9cc08fccc9a8586e871cd (diff)
downloadmongo-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.cpp7
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() {