diff options
author | Kevin Albertson <kevin.albertson@10gen.com> | 2018-01-11 17:20:04 -0500 |
---|---|---|
committer | Kevin Albertson <kevin.albertson@10gen.com> | 2018-01-23 09:04:45 -0500 |
commit | 805c28ebf2d1df9fefdf9f16726ea5b1ab77c5e9 (patch) | |
tree | 981dfdc34e79cf6ac132c0377aadb94fcbd58210 /src/mongo/client/mongo_uri.h | |
parent | f4ac177b55bc762e977dc093a40e442b7061f58c (diff) | |
download | mongo-805c28ebf2d1df9fefdf9f16726ea5b1ab77c5e9.tar.gz |
SERVER-32094 support appname URI param in shell
Diffstat (limited to 'src/mongo/client/mongo_uri.h')
-rw-r--r-- | src/mongo/client/mongo_uri.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/client/mongo_uri.h b/src/mongo/client/mongo_uri.h index 11d948a526c..b5cf3ecf15c 100644 --- a/src/mongo/client/mongo_uri.h +++ b/src/mongo/client/mongo_uri.h @@ -145,6 +145,8 @@ public: return _connectString.getServers(); } + const boost::optional<std::string> getAppName() const; + // If you are trying to clone a URI (including its options/auth information) for a single // server (say a member of a replica-set), you can pass in its HostAndPort information to // get a new URI with the same info, except type() will be MASTER and getServers() will |