diff options
author | Benety Goh <benety@mongodb.com> | 2015-07-08 17:47:48 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2015-07-09 10:06:02 -0400 |
commit | cc2c70f5108b28155e7efa34061559c425578d72 (patch) | |
tree | 7de0e6cacab7c90e8b53bc22b7567495087d38a4 /src/mongo/client/remote_command_runner_impl.cpp | |
parent | f316ff5af270da92c63f412c2238fa1e5b6e599d (diff) | |
download | mongo-cc2c70f5108b28155e7efa34061559c425578d72.tar.gz |
SERVER-19307 fixed missing metadata in remote command response
Diffstat (limited to 'src/mongo/client/remote_command_runner_impl.cpp')
-rw-r--r-- | src/mongo/client/remote_command_runner_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/remote_command_runner_impl.cpp b/src/mongo/client/remote_command_runner_impl.cpp index a81c622e6d9..aa001b3f3cd 100644 --- a/src/mongo/client/remote_command_runner_impl.cpp +++ b/src/mongo/client/remote_command_runner_impl.cpp @@ -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()); |