summaryrefslogtreecommitdiff
path: root/src/mongo/util/fail_point_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/fail_point_service.cpp')
-rw-r--r--src/mongo/util/fail_point_service.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/util/fail_point_service.cpp b/src/mongo/util/fail_point_service.cpp
index 68bb4897286..a4766784df8 100644
--- a/src/mongo/util/fail_point_service.cpp
+++ b/src/mongo/util/fail_point_service.cpp
@@ -42,9 +42,8 @@ MONGO_INITIALIZER(FailPointRegistry)(InitializerContext* context) {
return Status::OK();
}
-MONGO_INITIALIZER_GENERAL(AllFailPointsRegistered,
- MONGO_NO_PREREQUISITES,
- MONGO_NO_DEPENDENTS)(InitializerContext* context) {
+MONGO_INITIALIZER_GENERAL(AllFailPointsRegistered, MONGO_NO_PREREQUISITES, MONGO_NO_DEPENDENTS)
+(InitializerContext* context) {
_fpRegistry->freeze();
return Status::OK();
}