diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-09-13 15:36:25 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-09-14 12:40:45 -0400 |
commit | a01943df6175cf89ff78c708d5bfdea6de45014a (patch) | |
tree | bdbed1f67ca60d47039ca156643a5c0b6f4e72af /src/mongo/s/mongos_options_init.cpp | |
parent | a071447aa574455acd1dbd1a1cab5bc1c53a4346 (diff) | |
download | mongo-a01943df6175cf89ff78c708d5bfdea6de45014a.tar.gz |
SERVER-26092 make only MongosOptions and MongodOptions depend on AllFailPointsRegistered
Diffstat (limited to 'src/mongo/s/mongos_options_init.cpp')
-rw-r--r-- | src/mongo/s/mongos_options_init.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/s/mongos_options_init.cpp b/src/mongo/s/mongos_options_init.cpp index 8fc33099abd..678785e4f88 100644 --- a/src/mongo/s/mongos_options_init.cpp +++ b/src/mongo/s/mongos_options_init.cpp @@ -40,7 +40,10 @@ MONGO_GENERAL_STARTUP_OPTIONS_REGISTER(MongosOptions)(InitializerContext* contex return addMongosOptions(&moe::startupOptions); } -MONGO_STARTUP_OPTIONS_VALIDATE(MongosOptions)(InitializerContext* context) { +MONGO_INITIALIZER_GENERAL(MongosOptions, + ("BeginStartupOptionValidation", "AllFailPointsRegistered"), + ("EndStartupOptionValidation")) +(InitializerContext* context) { if (!handlePreValidationMongosOptions(moe::startupOptionsParsed, context->args())) { quickExit(EXIT_SUCCESS); } |