summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_drop_collection_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_drop_collection_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_drop_collection_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_drop_collection_cmd.cpp b/src/mongo/s/commands/cluster_drop_collection_cmd.cpp
index ef1bfe63c7b..3651dcb1253 100644
--- a/src/mongo/s/commands/cluster_drop_collection_cmd.cpp
+++ b/src/mongo/s/commands/cluster_drop_collection_cmd.cpp
@@ -119,7 +119,7 @@ public:
// Ensure our reply conforms to the IDL-defined reply structure.
return DropReply::parse(IDLParserContext{"drop"}, resultObj);
} catch (const ExceptionFor<ErrorCodes::NamespaceNotFound>&) {
- uassert(CollectionUUIDMismatchInfo(request().getDbName().toString(),
+ uassert(CollectionUUIDMismatchInfo(request().getDbName(),
*request().getCollectionUUID(),
request().getNamespace().coll().toString(),
boost::none),