diff options
Diffstat (limited to 'src/mongo/client/dbclient_cursor.cpp')
-rw-r--r-- | src/mongo/client/dbclient_cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_cursor.cpp b/src/mongo/client/dbclient_cursor.cpp index 321d19d0eef..2d6ea826c42 100644 --- a/src/mongo/client/dbclient_cursor.cpp +++ b/src/mongo/client/dbclient_cursor.cpp @@ -262,7 +262,7 @@ BSONObj DBClientCursor::commandDataReceived(const Message& reply) { auto opCtx = haveClient() ? cc().getOperationContext() : nullptr; if (_client->getReplyMetadataReader()) { uassertStatusOK(_client->getReplyMetadataReader()( - opCtx, commandReply->getMetadata(), _client->getServerAddress())); + opCtx, commandReply->getCommandReply(), _client->getServerAddress())); } return commandReply->getCommandReply().getOwned(); |