summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-04-13 18:28:19 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-16 16:55:28 -0400
commit5ae0a2505ca14442ca6473b2d713be4e84958e6b (patch)
treec39ababf3c4c31502eadb3d26107c53594667017 /src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp
parenta64b7af35ab0463276645e8d4637569c0ccdfd73 (diff)
downloadmongo-5ae0a2505ca14442ca6473b2d713be4e84958e6b.tar.gz
SERVER-17817 Remove ClientInfo class.
Diffstat (limited to 'src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp b/src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp
index 7d272c28619..81f34598115 100644
--- a/src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp
+++ b/src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp
@@ -28,9 +28,9 @@
#include "mongo/platform/basic.h"
+#include "mongo/db/client.h"
#include "mongo/db/commands.h"
#include "mongo/db/lasterror.h"
-#include "mongo/s/client_info.h"
#include "mongo/s/cluster_last_error_info.h"
namespace mongo {
@@ -74,7 +74,7 @@ namespace {
if (cmdObj["forShell"].trueValue()) {
lastError.disableForCommand();
- ClusterLastErrorInfo::get(ClientInfo::get()).disableForCommand();
+ ClusterLastErrorInfo::get(cc()).disableForCommand();
}
errmsg = "replSetGetStatus is not supported through mongos";