diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2021-12-14 07:47:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-17 17:14:57 +0000 |
commit | 7e8cbd4f9d46dccbc298256f7914243ccd573bdf (patch) | |
tree | dc9396b8017e05fa22b246469ad735fd72dd1671 /src/mongo/util/version.h | |
parent | f997e000ca1b52f529755e3dde404dc73b2e68be (diff) | |
download | mongo-7e8cbd4f9d46dccbc298256f7914243ccd573bdf.tar.gz |
SERVER-61844 Allow mongos and mongoq to have different startup initialization
Diffstat (limited to 'src/mongo/util/version.h')
-rw-r--r-- | src/mongo/util/version.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/util/version.h b/src/mongo/util/version.h index 04ed69e4275..ffbf3aa730f 100644 --- a/src/mongo/util/version.h +++ b/src/mongo/util/version.h @@ -170,6 +170,11 @@ protected: }; /** + * Returns a pretty string describing the provided binary's version. + */ +std::string formatVersionString(StringData versioned, const VersionInfoInterface& provider); + +/** * Returns a pretty string describing the current shell version. */ std::string mongoShellVersion(const VersionInfoInterface& provider); |