summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/dbcommands.cpp
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2021-05-24 09:55:04 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-24 14:27:22 +0000
commitb173494aa6b84b5d44c5f958fd78dd469596a314 (patch)
treebcdefb735ff1e64faa76c174993fddd1be7442cf /src/mongo/db/commands/dbcommands.cpp
parent4d720b2eac01fd5044ae114690384c4413ed92b9 (diff)
downloadmongo-b173494aa6b84b5d44c5f958fd78dd469596a314.tar.gz
SERVER-56934 Make expireAfterSeconds a top-level collection option
Diffstat (limited to 'src/mongo/db/commands/dbcommands.cpp')
-rw-r--r--src/mongo/db/commands/dbcommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/dbcommands.cpp b/src/mongo/db/commands/dbcommands.cpp
index e20b53a358d..28bd1ec7ec2 100644
--- a/src/mongo/db/commands/dbcommands.cpp
+++ b/src/mongo/db/commands/dbcommands.cpp
@@ -143,7 +143,7 @@ std::unique_ptr<CollMod> makeTimeseriesCollModCommand(OperationContext* opCtx,
cmd->setViewOn(origCmd.getViewOn());
cmd->setPipeline(origCmd.getPipeline());
cmd->setRecordPreImages(origCmd.getRecordPreImages());
- cmd->setClusteredIndex(origCmd.getClusteredIndex());
+ cmd->setExpireAfterSeconds(origCmd.getExpireAfterSeconds());
return cmd;
}