diff options
Diffstat (limited to 'src/mongo/db/change_stream_serverless_helpers.cpp')
-rw-r--r-- | src/mongo/db/change_stream_serverless_helpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/change_stream_serverless_helpers.cpp b/src/mongo/db/change_stream_serverless_helpers.cpp index f8406d07a99..b48bd36667d 100644 --- a/src/mongo/db/change_stream_serverless_helpers.cpp +++ b/src/mongo/db/change_stream_serverless_helpers.cpp @@ -74,10 +74,10 @@ bool canInitializeServices() { return false; } - return canRunInTargetEnvironment(); + return isServerlessEnvironment(); } -bool canRunInTargetEnvironment() { +bool isServerlessEnvironment() { // A change stream services are enabled only in the multitenant serverless settings. For the // sharded cluster, 'internalChangeStreamUseTenantIdForTesting' maybe provided for the testing // purposes until the support is available. |