summaryrefslogtreecommitdiff
path: root/jstests/sharding/libs/mongos_api_params_util.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/libs/mongos_api_params_util.js')
-rw-r--r--jstests/sharding/libs/mongos_api_params_util.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/sharding/libs/mongos_api_params_util.js b/jstests/sharding/libs/mongos_api_params_util.js
index 4485023b70e..914f6b70462 100644
--- a/jstests/sharding/libs/mongos_api_params_util.js
+++ b/jstests/sharding/libs/mongos_api_params_util.js
@@ -297,13 +297,13 @@ let MongosAPIParametersUtil = (function() {
{
commandName: "count",
run: {
- inAPIVersion1: true,
+ inAPIVersion1: false,
shardCommandName: "count",
permittedInTxn: false,
command: () => ({count: "collection"})
},
explain: {
- inAPIVersion1: true,
+ inAPIVersion1: false,
shardCommandName: "explain",
permittedInTxn: false,
command: () => ({explain: {count: "collection"}})
@@ -312,13 +312,13 @@ let MongosAPIParametersUtil = (function() {
{
commandName: "count",
run: {
- inAPIVersion1: true,
+ inAPIVersion1: false,
shardCommandName: "count",
permittedInTxn: false,
command: () => ({count: "collection", query: {x: 1}})
},
explain: {
- inAPIVersion1: true,
+ inAPIVersion1: false,
shardCommandName: "explain",
permittedInTxn: false,
command: () => ({explain: {count: "collection", query: {x: 1}}})