summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2018-02-12 05:41:53 -0500
committerHenrik Edin <henrik.edin@mongodb.com>2018-02-14 02:48:16 -0500
commite39598ae82e34f33f3ef29fd89801ce6cfb5270b (patch)
tree06672aa5e658859f5d233bdf53ad05d2392f8d4a /src/mongo/db/exec
parent8dc33796371e1226bc2a53481e80cf0fd8142371 (diff)
downloadmongo-e39598ae82e34f33f3ef29fd89801ce6cfb5270b.tar.gz
SERVER-33286 Provide service context in Command::secondaryAllowed to allow getting interfaces without using global get function.
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/stagedebug_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/stagedebug_cmd.cpp b/src/mongo/db/exec/stagedebug_cmd.cpp
index 596cd6f71c8..92b9908f2a3 100644
--- a/src/mongo/db/exec/stagedebug_cmd.cpp
+++ b/src/mongo/db/exec/stagedebug_cmd.cpp
@@ -123,7 +123,7 @@ public:
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
return false;
}
- AllowedOnSecondary secondaryAllowed() const override {
+ AllowedOnSecondary secondaryAllowed(ServiceContext*) const override {
return AllowedOnSecondary::kNever;
}
std::string help() const override {