summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r--src/mongo/db/commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index e835b73c959..5897fb79321 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -245,8 +245,8 @@ public:
return false;
}
- virtual Operation getLogicalOp() const {
- return dbCommand;
+ virtual LogicalOp getLogicalOp() const {
+ return LogicalOp::opCommand;
}
/** @param webUI expose the command in the web ui as localhost:28017/<name>