summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin-mueller-cemas <88337177+martin-mueller-cemas@users.noreply.github.com>2021-10-12 16:09:43 +0200
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-29 20:58:29 +0000
commit6ed9f24dc8470f6f7010f7b5cf6dba8db7c9e376 (patch)
treefc97ba3a03aa80062e9ceb8a097eef304a359ffd
parentc4f813e20892a5bd22d0d7b109542c2b242d4d5e (diff)
downloadmongo-6ed9f24dc8470f6f7010f7b5cf6dba8db7c9e376.tar.gz
SERVER-60622 Fix typos in update_driver.cpp error messages
-rw-r--r--src/mongo/db/update/update_driver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/update/update_driver.cpp b/src/mongo/db/update/update_driver.cpp
index 0df3cf38098..5b4809342be 100644
--- a/src/mongo/db/update/update_driver.cpp
+++ b/src/mongo/db/update/update_driver.cpp
@@ -132,7 +132,7 @@ void UpdateDriver::parse(
if (updateMod.type() == write_ops::UpdateModification::Type::kPipeline) {
uassert(ErrorCodes::FailedToParse,
- "arrayFilters may not be specified for pipeline-syle updates",
+ "arrayFilters may not be specified for pipeline-style updates",
arrayFilters.empty());
_updateExecutor =
std::make_unique<PipelineExecutor>(_expCtx, updateMod.getUpdatePipeline(), constants);
@@ -142,7 +142,7 @@ void UpdateDriver::parse(
if (updateMod.type() == write_ops::UpdateModification::Type::kDelta) {
uassert(4772603,
- "arrayFilters may not be specified for delta-syle updates",
+ "arrayFilters may not be specified for delta-style updates",
arrayFilters.empty());
_updateType = UpdateType::kDelta;
@@ -170,7 +170,7 @@ void UpdateDriver::parse(
uassert(5857811, "multi update is not supported for transform-style update", !multi);
uassert(5857812,
- "arrayFilters may not be specified for transform-syle updates",
+ "arrayFilters may not be specified for transform-style updates",
arrayFilters.empty());
_updateType = UpdateType::kTransform;