diff options
author | Katherine Walker <katherine.walker@mongodb.com> | 2017-09-19 16:36:30 -0400 |
---|---|---|
committer | Katherine Walker <katherine.walker@mongodb.com> | 2017-09-21 10:49:03 -0400 |
commit | ffa3e3119ebff2fcf4130362680420ab0de70bc5 (patch) | |
tree | 3c998fe2aac466af3a9643d25818346269ffb995 /src/mongo/db/startup_warnings_mongod.h | |
parent | fc9b7c1f90017fbd84ce8350a52cc6052f7b465e (diff) | |
download | mongo-ffa3e3119ebff2fcf4130362680420ab0de70bc5.tar.gz |
SERVER-30346 Add startupWarnings for master-slave
Diffstat (limited to 'src/mongo/db/startup_warnings_mongod.h')
-rw-r--r-- | src/mongo/db/startup_warnings_mongod.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/startup_warnings_mongod.h b/src/mongo/db/startup_warnings_mongod.h index b6f4048237d..eaec23282f6 100644 --- a/src/mongo/db/startup_warnings_mongod.h +++ b/src/mongo/db/startup_warnings_mongod.h @@ -28,6 +28,7 @@ #include "mongo/base/status.h" #include "mongo/base/status_with.h" +#include "mongo/db/service_context.h" namespace mongo { @@ -56,5 +57,6 @@ public: // Checks various startup conditions and logs any necessary warnings that // are specific to the mongod process. void logMongodStartupWarnings(const StorageGlobalParams& storageParams, - const ServerGlobalParams& serverParams); + const ServerGlobalParams& serverParams, + ServiceContext* svcCtx); } // namespace mongo |