summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.cpp')
-rw-r--r--src/mongo/db/repl/oplog_entry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplog_entry.cpp b/src/mongo/db/repl/oplog_entry.cpp
index 130543160bf..d2e9416e407 100644
--- a/src/mongo/db/repl/oplog_entry.cpp
+++ b/src/mongo/db/repl/oplog_entry.cpp
@@ -58,8 +58,8 @@ OplogEntry::CommandType parseCommandType(const BSONObj& objectField) {
return OplogEntry::CommandType::kEmptyCapped;
} else if (commandString == "convertToCapped") {
return OplogEntry::CommandType::kConvertToCapped;
- } else if (commandString == "createIndex") {
- return OplogEntry::CommandType::kCreateIndex;
+ } else if (commandString == "createIndexes") {
+ return OplogEntry::CommandType::kCreateIndexes;
} else if (commandString == "dropIndexes") {
return OplogEntry::CommandType::kDropIndexes;
} else if (commandString == "deleteIndexes") {