summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
authorWaley Chen <waleycz@gmail.com>2016-08-03 16:51:40 -0400
committerWaley Chen <waleycz@gmail.com>2016-08-03 16:51:40 -0400
commit52113a58ea6148cad16257fe17a4da6476ff0a27 (patch)
treef4279632fceaf2d4f7c0cdf0bf3e7e090128a18e /src/mongo/s
parent17f04c75a9ce572189a40e9390dbcfd4b7a51484 (diff)
downloadmongo-52113a58ea6148cad16257fe17a4da6476ff0a27.tar.gz
SERVER-24067 TaskExecutor RemoteCommandCallbackArgs should include elapsedMS and metadata
lint fix
Diffstat (limited to 'src/mongo/s')
-rw-r--r--src/mongo/s/client/shard_remote.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/client/shard_remote.cpp b/src/mongo/s/client/shard_remote.cpp
index 5fae69ea753..ad9e697bb55 100644
--- a/src/mongo/s/client/shard_remote.cpp
+++ b/src/mongo/s/client/shard_remote.cpp
@@ -191,7 +191,8 @@ Shard::HostWithResponse ShardRemote::_runCommand(OperationContext* txn,
txn,
requestTimeout < Milliseconds::max() ? requestTimeout : RemoteCommandRequest::kNoTimeout);
- RemoteCommandResponse swResponse = Status(ErrorCodes::InternalError, "Internal error running command");
+ RemoteCommandResponse swResponse =
+ Status(ErrorCodes::InternalError, "Internal error running command");
TaskExecutor* executor = Grid::get(txn)->getExecutorPool()->getFixedExecutor();
auto callStatus = executor->scheduleRemoteCommand(