diff options
Diffstat (limited to 'src/mongo/db/introspect.cpp')
-rw-r--r-- | src/mongo/db/introspect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/introspect.cpp b/src/mongo/db/introspect.cpp index 81e6b1aaca0..aa52b86af04 100644 --- a/src/mongo/db/introspect.cpp +++ b/src/mongo/db/introspect.cpp @@ -153,7 +153,7 @@ Status createProfileCollection(OperationContext* opCtx, Database* db) { // Checking the collection exists must also be done in the WCE retry loop. Only retrying // collection creation would endlessly throw errors because the collection exists: must check // and see the collection exists in order to break free. - return writeConflictRetry(opCtx, "createProfileCollection", dbProfilingNS.ns(), [&] { + return writeConflictRetry(opCtx, "createProfileCollection", dbProfilingNS, [&] { const Collection* collection = CollectionCatalog::get(opCtx)->lookupCollectionByNamespace(opCtx, dbProfilingNS); if (collection) { |