summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/auth_schema_upgrade_s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/auth_schema_upgrade_s.cpp')
-rw-r--r--src/mongo/s/commands/auth_schema_upgrade_s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/auth_schema_upgrade_s.cpp b/src/mongo/s/commands/auth_schema_upgrade_s.cpp
index 144d5c80380..41f569815b1 100644
--- a/src/mongo/s/commands/auth_schema_upgrade_s.cpp
+++ b/src/mongo/s/commands/auth_schema_upgrade_s.cpp
@@ -157,7 +157,7 @@ namespace {
return appendCommandStatus(result, status);
}
- status = authzManager->upgradeSchema(maxSteps, writeConcern);
+ status = authzManager->upgradeSchema(txn, maxSteps, writeConcern);
if (!status.isOK())
return appendCommandStatus(result, status);