summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbdirectclient.cpp
diff options
context:
space:
mode:
authorAndrew Chen <a.chen@mongodb.com>2020-07-01 15:48:23 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-30 14:48:04 +0000
commit051bd6e51b33d7fd8a1265e166efffd20178a86d (patch)
tree6a2b92974c8e1cd148e0f085d0091ea0942e21f5 /src/mongo/db/dbdirectclient.cpp
parent41fda13f7239308239ade7f143f9b5e2fef0e87b (diff)
downloadmongo-051bd6e51b33d7fd8a1265e166efffd20178a86d.tar.gz
SERVER-48978 Futurize handleRequest
Diffstat (limited to 'src/mongo/db/dbdirectclient.cpp')
-rw-r--r--src/mongo/db/dbdirectclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbdirectclient.cpp b/src/mongo/db/dbdirectclient.cpp
index ee58c8c31cb..5386bf567d2 100644
--- a/src/mongo/db/dbdirectclient.cpp
+++ b/src/mongo/db/dbdirectclient.cpp
@@ -143,7 +143,7 @@ DbResponse loopbackBuildResponse(OperationContext* const opCtx,
toSend.header().setId(nextMessageId());
toSend.header().setResponseToMsgId(0);
- return opCtx->getServiceContext()->getServiceEntryPoint()->handleRequest(opCtx, toSend);
+ return opCtx->getServiceContext()->getServiceEntryPoint()->handleRequest(opCtx, toSend).get();
}
} // namespace