diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2021-03-23 23:31:52 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-25 22:48:02 +0000 |
commit | e0f87dc63d1d430c83515dacf9b7a57aa503ac44 (patch) | |
tree | 2ea4cb969c745155fe75d44f91c0b39a76dabac0 /src/mongo/db/commands/drop_indexes.cpp | |
parent | 6afd283045dc43c0b249424ba03a72b89e5ad8c6 (diff) | |
download | mongo-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.cpp | 2 |
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() |