From 6ed9f24dc8470f6f7010f7b5cf6dba8db7c9e376 Mon Sep 17 00:00:00 2001 From: martin-mueller-cemas <88337177+martin-mueller-cemas@users.noreply.github.com> Date: Tue, 12 Oct 2021 16:09:43 +0200 Subject: SERVER-60622 Fix typos in update_driver.cpp error messages --- src/mongo/db/update/update_driver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mongo/db/update') 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(_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; -- cgit v1.2.1