summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/drop_indexes.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2021-03-23 23:31:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-25 22:48:02 +0000
commite0f87dc63d1d430c83515dacf9b7a57aa503ac44 (patch)
tree2ea4cb969c745155fe75d44f91c0b39a76dabac0 /src/mongo/db/commands/drop_indexes.cpp
parent6afd283045dc43c0b249424ba03a72b89e5ad8c6 (diff)
downloadmongo-e0f87dc63d1d430c83515dacf9b7a57aa503ac44.tar.gz
SERVER-54639 make list_indexes.cpp time-series conversion helper functions generic
Diffstat (limited to 'src/mongo/db/commands/drop_indexes.cpp')
-rw-r--r--src/mongo/db/commands/drop_indexes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/drop_indexes.cpp b/src/mongo/db/commands/drop_indexes.cpp
index 85d1c56b929..a2a5be13db7 100644
--- a/src/mongo/db/commands/drop_indexes.cpp
+++ b/src/mongo/db/commands/drop_indexes.cpp
@@ -90,7 +90,7 @@ std::unique_ptr<DropIndexes> makeTimeseriesDropIndexesCommand(OperationContext*
const auto& origIndex = origCmd.getIndex();
if (auto keyPtr = stdx::get_if<BSONObj>(&origIndex)) {
auto bucketsIndexSpecWithStatus =
- timeseries::convertTimeseriesIndexSpecToBucketsIndexSpec(*timeseriesOptions, *keyPtr);
+ timeseries::createBucketsIndexSpecFromTimeseriesIndexSpec(*timeseriesOptions, *keyPtr);
uassert(ErrorCodes::IndexNotFound,
str::stream() << bucketsIndexSpecWithStatus.getStatus().toString()