summaryrefslogtreecommitdiff
path: root/src/mongo/idl/idl_parser.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2021-06-09 10:50:36 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-09 16:17:51 +0000
commitbc12fee0c9919bc8c86b9b13bda95ebd86bb0916 (patch)
tree325bb7e021713c8a9a6d98ae5ab2a0f4a7a30d72 /src/mongo/idl/idl_parser.cpp
parentb31b392135d4d17eb282efe4165185b204289c80 (diff)
downloadmongo-bc12fee0c9919bc8c86b9b13bda95ebd86bb0916.tar.gz
SERVER-57560 Fix error message typo in `IDLParserErrorContext::checkAndAssertBinDataTypeSlowPath`
Diffstat (limited to 'src/mongo/idl/idl_parser.cpp')
-rw-r--r--src/mongo/idl/idl_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/idl/idl_parser.cpp b/src/mongo/idl/idl_parser.cpp
index de0ffd40852..a76d75eeba4 100644
--- a/src/mongo/idl/idl_parser.cpp
+++ b/src/mongo/idl/idl_parser.cpp
@@ -91,7 +91,7 @@ bool IDLParserErrorContext::checkAndAssertBinDataTypeSlowPath(const BSONElement&
if (element.binDataType() != type) {
std::string path = getElementPath(element);
uasserted(ErrorCodes::TypeMismatch,
- str::stream() << "BSON field '" << path << "' is the wrong bindData type '"
+ str::stream() << "BSON field '" << path << "' is the wrong binData type '"
<< typeName(element.binDataType()) << "', expected type '"
<< typeName(type) << "'");
}