summaryrefslogtreecommitdiff
path: root/src/mongo/s/mongos_options.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-04-15 15:01:04 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-04-16 16:02:49 -0400
commitcd6f9bd7744324e725368db67934c5fa23e85347 (patch)
treedc6d0f2af2adfcd7252079b08dbe6b3eefbc943b /src/mongo/s/mongos_options.h
parent492e26db0702abd8b44794fb718f76b26afecefd (diff)
downloadmongo-cd6f9bd7744324e725368db67934c5fa23e85347.tar.gz
SERVER-18071 Parse mongos 'configdb' command line parameter into a ConnectionString rather than a vector of strings
Diffstat (limited to 'src/mongo/s/mongos_options.h')
-rw-r--r--src/mongo/s/mongos_options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/mongos_options.h b/src/mongo/s/mongos_options.h
index 30dfd354874..ee38ce51064 100644
--- a/src/mongo/s/mongos_options.h
+++ b/src/mongo/s/mongos_options.h
@@ -29,6 +29,7 @@
#pragma once
#include "mongo/base/status.h"
+#include "mongo/client/connection_string.h"
#include "mongo/db/server_options.h"
#include "mongo/util/options_parser/environment.h"
#include "mongo/util/options_parser/option_section.h"
@@ -43,7 +44,7 @@ namespace mongo {
namespace moe = mongo::optionenvironment;
struct MongosGlobalParams {
- std::vector<std::string> configdbs;
+ ConnectionString configdbs;
bool upgrade;
MongosGlobalParams() :