diff options
author | Andrew Morrow <acm@mongodb.com> | 2018-03-28 11:59:39 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2018-03-29 12:15:39 -0400 |
commit | 73a74e4ba33af61b2f102ddf11e674ee30dc2768 (patch) | |
tree | ec11fffd096488f006e9e3a6f33ff4b80c1315fe /src/mongo/shell/shell_options.cpp | |
parent | 45c86eb7be9a2ce2ffd112f22f7cdc131d35b0aa (diff) | |
download | mongo-73a74e4ba33af61b2f102ddf11e674ee30dc2768.tar.gz |
SERVER-33980 Reduce dependencies for embedded commands
Diffstat (limited to 'src/mongo/shell/shell_options.cpp')
-rw-r--r-- | src/mongo/shell/shell_options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/shell/shell_options.cpp b/src/mongo/shell/shell_options.cpp index 8e8ca5f4b3e..4f071c04b09 100644 --- a/src/mongo/shell/shell_options.cpp +++ b/src/mongo/shell/shell_options.cpp @@ -39,8 +39,8 @@ #include "mongo/base/status.h" #include "mongo/bson/util/builder.h" #include "mongo/client/mongo_uri.h" -#include "mongo/client/sasl_client_authenticate.h" #include "mongo/config.h" +#include "mongo/db/auth/sasl_command_constants.h" #include "mongo/db/server_options.h" #include "mongo/rpc/protocol.h" #include "mongo/shell/shell_utils.h" @@ -123,7 +123,7 @@ Status addMongoShellOptions(moe::OptionSection* options) { "gssapiServiceName", moe::String, "Service name to use when authenticating using GSSAPI/Kerberos") - .setDefault(moe::Value(std::string(saslDefaultServiceName))); + .setDefault(moe::Value(saslDefaultServiceName.toString())); authenticationOptions.addOptionChaining( "gssapiHostName", |