0
0
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:
Benety Goh 2015-07-08 17:47:48 -04:00
parent f316ff5af2
commit cc2c70f510

View File

@ -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());