fix: extra single quote in error 5491300

This commit is contained in:
José Moreira 2023-07-18 09:43:09 +01:00 committed by GitHub
parent 686fc5e076
commit e5cfa82d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,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