diff options
Diffstat (limited to 'src/mongo/db/s/migration_destination_manager_legacy_commands.cpp')
-rw-r--r-- | src/mongo/db/s/migration_destination_manager_legacy_commands.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp b/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp index 383af210483..a188affcf43 100644 --- a/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp +++ b/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp @@ -86,7 +86,7 @@ public: bool run(OperationContext* opCtx, const string&, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { auto shardingState = ShardingState::get(opCtx); @@ -186,7 +186,7 @@ public: bool run(OperationContext* opCtx, const string&, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { ShardingState::get(opCtx)->migrationDestinationManager()->report(result); @@ -226,7 +226,7 @@ public: bool run(OperationContext* opCtx, const string&, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { auto const sessionId = uassertStatusOK(MigrationSessionId::extractFromBSON(cmdObj)); @@ -273,7 +273,7 @@ public: bool run(OperationContext* opCtx, const string&, - BSONObj& cmdObj, + const BSONObj& cmdObj, string& errmsg, BSONObjBuilder& result) { auto const mdm = ShardingState::get(opCtx)->migrationDestinationManager(); |