summaryrefslogtreecommitdiff
path: root/src/mongo/client/mongo_uri.cpp
diff options
context:
space:
mode:
authorIan Boros <ian.boros@10gen.com>2018-07-30 12:45:53 -0400
committerIan Boros <ian.boros@10gen.com>2018-07-30 12:45:53 -0400
commit40a611d43c5a33f72066ffcf26708e43bbd4cd16 (patch)
tree59d918d5b6c8f0325d1b0586a8b248efee6b9a26 /src/mongo/client/mongo_uri.cpp
parentc9d4204b6243e5eee6fe0b5e2c34d02af9ac5edb (diff)
downloadmongo-40a611d43c5a33f72066ffcf26708e43bbd4cd16.tar.gz
SERVER-30997 fix error code
Diffstat (limited to 'src/mongo/client/mongo_uri.cpp')
-rw-r--r--src/mongo/client/mongo_uri.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/mongo_uri.cpp b/src/mongo/client/mongo_uri.cpp
index 69187e897e9..ea455cb0794 100644
--- a/src/mongo/client/mongo_uri.cpp
+++ b/src/mongo/client/mongo_uri.cpp
@@ -298,7 +298,7 @@ bool MongoURI::isMongoURI(StringData uri) {
}
std::string MongoURI::redact(StringData url) {
- uassert(50891, "String passed to MongoURI::redact wasn't a MongoURI", isMongoURI(url));
+ uassert(50892, "String passed to MongoURI::redact wasn't a MongoURI", isMongoURI(url));
URIParts parts(url);
std::ostringstream out;