diff options
author | samontea <merciers.merciers@gmail.com> | 2020-12-10 21:06:16 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-11 00:47:07 +0000 |
commit | dc77c3d344443071783d7098e75d2379bc749be3 (patch) | |
tree | 15773db6e12f13b03a84e42ef8805874a83b770d /src/mongo/s/commands/cluster_count_cmd.cpp | |
parent | 05e0b5789d90774c262037b8f7ccda3a07cbecf5 (diff) | |
download | mongo-dc77c3d344443071783d7098e75d2379bc749be3.tar.gz |
SERVER-51768 Update javascript tests to reflect count being removed from API version 1 and remove count from API version 1
Diffstat (limited to 'src/mongo/s/commands/cluster_count_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_count_cmd.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/s/commands/cluster_count_cmd.cpp b/src/mongo/s/commands/cluster_count_cmd.cpp index fc8c7495194..48eb683ad7b 100644 --- a/src/mongo/s/commands/cluster_count_cmd.cpp +++ b/src/mongo/s/commands/cluster_count_cmd.cpp @@ -53,10 +53,6 @@ class ClusterCountCmd : public ErrmsgCommandDeprecated { public: ClusterCountCmd() : ErrmsgCommandDeprecated("count") {} - const std::set<std::string>& apiVersions() const { - return kApiVersions1; - } - AllowedOnSecondary secondaryAllowed(ServiceContext*) const override { return AllowedOnSecondary::kAlways; } |