diff options
Diffstat (limited to 'src/mongo/db/stats/change_collection_server_status.cpp')
-rw-r--r-- | src/mongo/db/stats/change_collection_server_status.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/stats/change_collection_server_status.cpp b/src/mongo/db/stats/change_collection_server_status.cpp index ee424a4ae43..f7d7f75a75c 100644 --- a/src/mongo/db/stats/change_collection_server_status.cpp +++ b/src/mongo/db/stats/change_collection_server_status.cpp @@ -30,6 +30,7 @@ #include "mongo/platform/basic.h" #include "mongo/db/change_stream_change_collection_manager.h" +#include "mongo/db/change_stream_serverless_helpers.h" #include "mongo/db/commands/server_status.h" namespace mongo { @@ -49,7 +50,7 @@ public: const BSONElement& configElement, BSONObjBuilder* result) const override { // Append the section only when running in serverless. - if (!ChangeStreamChangeCollectionManager::isChangeCollectionsModeActive()) { + if (!change_stream_serverless_helpers::isChangeCollectionsModeActive()) { return; } |