summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/dbclient_base.cpp')
-rw-r--r--src/mongo/client/dbclient_base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/dbclient_base.cpp b/src/mongo/client/dbclient_base.cpp
index 96f057e118b..c085d260d53 100644
--- a/src/mongo/client/dbclient_base.cpp
+++ b/src/mongo/client/dbclient_base.cpp
@@ -963,8 +963,8 @@ void DBClientBase::update(const string& ns,
}
void DBClientBase::killCursor(const NamespaceString& ns, long long cursorId) {
- runFireAndForgetCommand(
- OpMsgRequest::fromDBAndBody(ns.db(), KillCursorsRequest(ns, {cursorId}).toBSON(BSONObj{})));
+ runFireAndForgetCommand(OpMsgRequest::fromDBAndBody(
+ ns.db(), KillCursorsCommandRequest(ns, {cursorId}).toBSON(BSONObj{})));
}
namespace {