summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/dbcheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/dbcheck.cpp')
-rw-r--r--src/mongo/db/commands/dbcheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/dbcheck.cpp b/src/mongo/db/commands/dbcheck.cpp
index d0c1ee0673e..73065a744dc 100644
--- a/src/mongo/db/commands/dbcheck.cpp
+++ b/src/mongo/db/commands/dbcheck.cpp
@@ -548,7 +548,7 @@ public:
};
MONGO_INITIALIZER(RegisterDbCheckCmd)(InitializerContext* context) {
- if (Command::testCommandsEnabled) {
+ if (getTestCommandsEnabled()) {
new DbCheckCmd();
}
return Status::OK();