diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-04-09 17:29:16 -0400 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2019-04-11 17:01:01 -0400 |
commit | 96ad39f93f670e9e09a1e430898e3b9a8bd70f54 (patch) | |
tree | b7a7507e3a25ea36683b8629c4b512abbea53c60 /src/mongo/s/mongos_options.cpp | |
parent | 7dc8b27f5c34821d24a6751e68da4c62b4545495 (diff) | |
download | mongo-96ad39f93f670e9e09a1e430898e3b9a8bd70f54.tar.gz |
SERVER-40476 merge contents of utils/stringutils into utils/str.
Diffstat (limited to 'src/mongo/s/mongos_options.cpp')
-rw-r--r-- | src/mongo/s/mongos_options.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/s/mongos_options.cpp b/src/mongo/s/mongos_options.cpp index 0cfa74fb7d0..f00243433e8 100644 --- a/src/mongo/s/mongos_options.cpp +++ b/src/mongo/s/mongos_options.cpp @@ -49,7 +49,6 @@ #include "mongo/util/options_parser/startup_options.h" #include "mongo/util/startup_test.h" #include "mongo/util/str.h" -#include "mongo/util/stringutils.h" namespace mongo { @@ -145,10 +144,10 @@ Status storeMongosOptions(const moe::Environment& params) { if (!resolvedSomeSeedSever) { if (!hostbyname(configdbConnectionString.getValue().getSetName().c_str()).empty()) { warning() << "The replica set name \"" - << escape(configdbConnectionString.getValue().getSetName()) + << str::escape(configdbConnectionString.getValue().getSetName()) << "\" resolves as a host name, but none of the servers in the seed list do. " "Did you reverse the replica set name and the seed list in " - << escape(configdbConnectionString.getValue().toString()) << "?"; + << str::escape(configdbConnectionString.getValue().toString()) << "?"; } } |