summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-06-23 10:45:48 -0400
committerMathias Stearn <mathias@10gen.com>2017-07-13 16:53:12 -0400
commit8d555140ce24b9f59e4672a0ed026502fdfffd2c (patch)
tree0ad245d9c2cfb93a80c4978a475cd1a78e35d52e /src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
parentb6abff538f84abecae2bd7137173a37a8626ac14 (diff)
downloadmongo-8d555140ce24b9f59e4672a0ed026502fdfffd2c.tar.gz
SERVER-29731 get errmsg out of BasicCommand api
It is now only used by commands deriving from ErrmsgCommandDeprecated.
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp b/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
index 5ccadd3f724..9e3e83774ee 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
@@ -142,7 +142,6 @@ public:
bool run(OperationContext* opCtx,
const std::string&,
const BSONObj& cmdObj,
- std::string& errmsg,
BSONObjBuilder& result) {
const MigrationSessionId migrationSessionId(
uassertStatusOK(MigrationSessionId::extractFromBSON(cmdObj)));
@@ -205,7 +204,6 @@ public:
bool run(OperationContext* opCtx,
const std::string&,
const BSONObj& cmdObj,
- std::string& errmsg,
BSONObjBuilder& result) {
const MigrationSessionId migrationSessionId(
uassertStatusOK(MigrationSessionId::extractFromBSON(cmdObj)));