summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_collection_mod_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_collection_mod_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_collection_mod_cmd.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mongo/s/commands/cluster_collection_mod_cmd.cpp b/src/mongo/s/commands/cluster_collection_mod_cmd.cpp
index 8b73ac91430..146778efdc0 100644
--- a/src/mongo/s/commands/cluster_collection_mod_cmd.cpp
+++ b/src/mongo/s/commands/cluster_collection_mod_cmd.cpp
@@ -101,12 +101,11 @@ public:
auto swDbInfo = Grid::get(opCtx)->catalogCache()->getDatabase(
opCtx, cmd.getDbName().toStringWithTenantId());
if (swDbInfo == ErrorCodes::NamespaceNotFound) {
- uassert(CollectionUUIDMismatchInfo(cmd.getDbName().toString(),
- *cmd.getCollectionUUID(),
- nss.coll().toString(),
- boost::none),
- "Database does not exist",
- !cmd.getCollectionUUID());
+ uassert(
+ CollectionUUIDMismatchInfo(
+ cmd.getDbName(), *cmd.getCollectionUUID(), nss.coll().toString(), boost::none),
+ "Database does not exist",
+ !cmd.getCollectionUUID());
}
const auto dbInfo = uassertStatusOK(swDbInfo);