summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/coll_mod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/coll_mod.cpp')
-rw-r--r--src/mongo/db/catalog/coll_mod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/coll_mod.cpp b/src/mongo/db/catalog/coll_mod.cpp
index e1cb1135852..5d264e189c0 100644
--- a/src/mongo/db/catalog/coll_mod.cpp
+++ b/src/mongo/db/catalog/coll_mod.cpp
@@ -849,7 +849,7 @@ Status _collModInternal(OperationContext* opCtx,
LOGV2(5324200, "CMD: collMod", "cmdObj"_attr = cmd.toBSON(BSONObj()));
}
- return writeConflictRetry(opCtx, "collMod", nss.ns(), [&] {
+ return writeConflictRetry(opCtx, "collMod", nss, [&] {
WriteUnitOfWork wunit(opCtx);
// Handle collMod on a view and return early. The CollectionCatalog handles the creation of