diff options
Diffstat (limited to 'jstests/sharding/libs/mongos_api_params_util.js')
-rw-r--r-- | jstests/sharding/libs/mongos_api_params_util.js | 8 |
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 914f6b70462..4485023b70e 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: false, + inAPIVersion1: true, shardCommandName: "count", permittedInTxn: false, command: () => ({count: "collection"}) }, explain: { - inAPIVersion1: false, + inAPIVersion1: true, shardCommandName: "explain", permittedInTxn: false, command: () => ({explain: {count: "collection"}}) @@ -312,13 +312,13 @@ let MongosAPIParametersUtil = (function() { { commandName: "count", run: { - inAPIVersion1: false, + inAPIVersion1: true, shardCommandName: "count", permittedInTxn: false, command: () => ({count: "collection", query: {x: 1}}) }, explain: { - inAPIVersion1: false, + inAPIVersion1: true, shardCommandName: "explain", permittedInTxn: false, command: () => ({explain: {count: "collection", query: {x: 1}}}) |