diff options
Diffstat (limited to 'src/mongo/db/commands/tenant_migration_recipient_cmds.cpp')
| -rw-r--r-- | src/mongo/db/commands/tenant_migration_recipient_cmds.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp b/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp index 505a5f73f68..e826e51dacc 100644 --- a/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp +++ b/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp @@ -201,7 +201,7 @@ public: repl::PrimaryOnlyServiceRegistry::get(opCtx->getServiceContext()) ->lookupServiceByName(repl::TenantMigrationRecipientService:: kTenantMigrationRecipientServiceName); - auto [instance, _] = repl::TenantMigrationRecipientService::Instance::lookup( + auto instance = repl::TenantMigrationRecipientService::Instance::lookup( opCtx, recipientService, BSON("_id" << cmd.getMigrationId())); uassert(8423340, "Unknown migrationId", instance); (*instance)->onMemberImportedFiles(cmd.getFrom(), cmd.getSuccess(), cmd.getReason()); |
