mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
SERVER-19307 fixed missing metadata in remote command response
This commit is contained in:
parent
f316ff5af2
commit
cc2c70f510
@ -255,7 +255,7 @@ StatusWith<RemoteCommandResponse> RemoteCommandRunnerImpl::runCommand(
|
||||
|
||||
return StatusWith<RemoteCommandResponse>(
|
||||
RemoteCommandResponse(std::move(output),
|
||||
commandResponse->getCommandReply().getOwned(),
|
||||
commandResponse->getMetadata().getOwned(),
|
||||
Milliseconds(requestFinishDate - requestStartDate)));
|
||||
} catch (const DBException& ex) {
|
||||
return StatusWith<RemoteCommandResponse>(ex.toStatus());
|
||||
|
Loading…
Reference in New Issue
Block a user