diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2020-08-22 10:17:48 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-10 00:34:29 +0000 |
commit | 74c76f296cfe3e6c2943d248bec49c84c0ea5b96 (patch) | |
tree | a18a1f707c65a8b20c31a0882e7f72be64d17655 /src/mongo/db/command_generic_argument.cpp | |
parent | 2b5dc35f019a3606c2dfa845cdfb320ffbac8014 (diff) | |
download | mongo-74c76f296cfe3e6c2943d248bec49c84c0ea5b96.tar.gz |
SERVER-50375 Ensure mongos forwards API params to shards
Diffstat (limited to 'src/mongo/db/command_generic_argument.cpp')
-rw-r--r-- | src/mongo/db/command_generic_argument.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/command_generic_argument.cpp b/src/mongo/db/command_generic_argument.cpp index 8434b65a3c3..e15c2498a97 100644 --- a/src/mongo/db/command_generic_argument.cpp +++ b/src/mongo/db/command_generic_argument.cpp @@ -56,9 +56,9 @@ static constexpr std::array<SpecialArgRecord, 34> specials{{ // /-isGeneric // | /-stripFromRequest // | | /-stripFromReply - {"apiVersion"_sd, 1, 0, 0}, - {"apiStrict"_sd, 1, 0, 0}, - {"apiDeprecationErrors"_sd, 1, 0, 0}, + {"apiVersion"_sd, 1, 1, 0}, + {"apiStrict"_sd, 1, 1, 0}, + {"apiDeprecationErrors"_sd, 1, 1, 0}, {"$audit"_sd, 1, 1, 0}, {"$client"_sd, 1, 1, 0}, {"$configServerState"_sd, 1, 1, 1}, |