diff options
author | Hugh Tong <hugh.tong@mongodb.com> | 2022-07-26 19:20:58 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-26 21:00:49 +0000 |
commit | 044d2f734e0dba40b9dfb02cc49c2bff8f575cd5 (patch) | |
tree | eb2d17564a0c99d2ee9ea3d2f95c81c46bcfcee1 /src/mongo/s/commands/cluster_collection_mod_cmd.cpp | |
parent | 921bba175902f9b9f29751a466383c3d7e80df7b (diff) | |
download | mongo-044d2f734e0dba40b9dfb02cc49c2bff8f575cd5.tar.gz |
SERVER-67824 Rename IDLParserErrorContext to IDLParserContext
Diffstat (limited to 'src/mongo/s/commands/cluster_collection_mod_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_collection_mod_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_collection_mod_cmd.cpp b/src/mongo/s/commands/cluster_collection_mod_cmd.cpp index 38e62973687..a1b8cb4a250 100644 --- a/src/mongo/s/commands/cluster_collection_mod_cmd.cpp +++ b/src/mongo/s/commands/cluster_collection_mod_cmd.cpp @@ -127,7 +127,7 @@ public: } void validateResult(const BSONObj& resultObj) final { - auto ctx = IDLParserErrorContext("CollModReply"); + auto ctx = IDLParserContext("CollModReply"); if (checkIsErrorStatus(resultObj, ctx)) { return; } @@ -148,7 +148,7 @@ public: return; } - auto rawCtx = IDLParserErrorContext(kRawFieldName, &ctx); + auto rawCtx = IDLParserContext(kRawFieldName, &ctx); for (const auto& element : rawData.Obj()) { if (!rawCtx.checkAndAssertType(element, Object)) { return; |