diff options
author | Spencer T Brody <spencer@mongodb.com> | 2016-04-27 15:33:37 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2016-05-02 18:45:07 -0400 |
commit | 070f32758b680425b0a6995b881fcb843a7db6cf (patch) | |
tree | 41798ea7c75ff3ea956627feefde77f2105371d0 /src/mongo/s/client/shard.cpp | |
parent | 7f8861fbb04b9188e793f762fe2cfc01266fcf30 (diff) | |
download | mongo-070f32758b680425b0a6995b881fcb843a7db6cf.tar.gz |
SERVER-23835 Remove metadata argument from Shard::runCommand
Diffstat (limited to 'src/mongo/s/client/shard.cpp')
-rw-r--r-- | src/mongo/s/client/shard.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/client/shard.cpp b/src/mongo/s/client/shard.cpp index 19c49fa7dd6..036405581ca 100644 --- a/src/mongo/s/client/shard.cpp +++ b/src/mongo/s/client/shard.cpp @@ -75,10 +75,9 @@ StatusWith<Shard::CommandResponse> Shard::runCommand(OperationContext* txn, const ReadPreferenceSetting& readPref, const std::string& dbName, const BSONObj& cmdObj, - const BSONObj& metadata, RetryPolicy retryPolicy) { for (int retry = 1; retry <= kOnErrorNumRetries; ++retry) { - auto swCmdResponse = _runCommand(txn, readPref, dbName, cmdObj, metadata); + auto swCmdResponse = _runCommand(txn, readPref, dbName, cmdObj); auto commandStatus = _getEffectiveCommandStatus(swCmdResponse); if (retry < kOnErrorNumRetries && _isRetriableError(commandStatus.code(), retryPolicy)) { |