summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_count_cmd_s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_count_cmd_s.cpp')
-rw-r--r--src/mongo/s/commands/cluster_count_cmd_s.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_count_cmd_s.cpp b/src/mongo/s/commands/cluster_count_cmd_s.cpp
index 4226d06a189..3bdf689385b 100644
--- a/src/mongo/s/commands/cluster_count_cmd_s.cpp
+++ b/src/mongo/s/commands/cluster_count_cmd_s.cpp
@@ -50,6 +50,10 @@ struct ClusterCountCmdS {
static void checkCanRunHere(OperationContext* opCtx) {
// Can always run on a mongos.
}
+
+ static void checkCanExplainHere(OperationContext* opCtx) {
+ // Can always run on a mongos.
+ }
};
ClusterCountCmdBase<ClusterCountCmdS> clusterCountCmdS;