diff options
Diffstat (limited to 'src/mongo/db/stats')
-rw-r--r-- | src/mongo/db/stats/storage_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/stats/storage_stats.cpp b/src/mongo/db/stats/storage_stats.cpp index f092a96738f..f93838ae492 100644 --- a/src/mongo/db/stats/storage_stats.cpp +++ b/src/mongo/db/stats/storage_stats.cpp @@ -162,7 +162,7 @@ Status appendCollectionStorageStats(OperationContext* opCtx, BSONObjBuilder indexDetails; std::vector<std::string> indexBuilds; - auto numIndexes = indexCatalog->numIndexesTotal(opCtx); + auto numIndexes = indexCatalog->numIndexesTotal(); if (collection->isClustered() && !collection->ns().isTimeseriesBucketsCollection()) { // There is an implicit 'clustered' index on a clustered collection. Increment the total // index count to reflect that. |