diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2020-05-18 15:50:24 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-18 23:13:34 +0000 |
commit | 2fbd718e0ab222d4b6614c452b0241e325421395 (patch) | |
tree | 23debb249e289d6dc1368c2a44bd00fbc61e7fdd /src/mongo/client/mongo_uri.h | |
parent | b3148d848547358244f055b25cbabe147f244a43 (diff) | |
download | mongo-2fbd718e0ab222d4b6614c452b0241e325421395.tar.gz |
SERVER-46189 Fix shell kill current ops with TLS replica set and down nodes
Diffstat (limited to 'src/mongo/client/mongo_uri.h')
-rw-r--r-- | src/mongo/client/mongo_uri.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/mongo_uri.h b/src/mongo/client/mongo_uri.h index 5b9f73039f8..3d155e1123c 100644 --- a/src/mongo/client/mongo_uri.h +++ b/src/mongo/client/mongo_uri.h @@ -134,7 +134,7 @@ public: // whichever map type is used provides that guarantee. using OptionsMap = std::map<CaseInsensitiveString, std::string>; - static StatusWith<MongoURI> parse(const std::string& url); + static StatusWith<MongoURI> parse(StringData url); /* * Returns true if str starts with one of the uri schemes (e.g. mongodb:// or mongodb+srv://) @@ -281,7 +281,7 @@ private: _sslMode(sslMode), _options(std::move(options)) {} - static MongoURI parseImpl(const std::string& url); + static MongoURI parseImpl(StringData url); ConnectionString _connectString; std::string _user; |