Merge e5cfa82d7d into 8d20d13637
This commit is contained in:
commit
6d7fcab9c3
@ -101,7 +101,7 @@ void assertAllowedInternalIfRequired(const OperationContext* opCtx,
|
||||
const auto isInternal = isInternalClient(opCtx->getClient());
|
||||
|
||||
uassert(5491300,
|
||||
str::stream() << operatorName << "' is not allowed in user requests",
|
||||
str::stream() << operatorName << " is not allowed in user requests",
|
||||
!(allowedWithClientType == AllowedWithClientType::kInternal && !isInternal));
|
||||
}
|
||||
} // namespace mongo
|
||||
|
||||
Loading…
Reference in New Issue
Block a user