summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter_rs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/remote_command_targeter_rs.cpp')
-rw-r--r--src/mongo/client/remote_command_targeter_rs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/remote_command_targeter_rs.cpp b/src/mongo/client/remote_command_targeter_rs.cpp
index ce84a13e028..7ddd9898769 100644
--- a/src/mongo/client/remote_command_targeter_rs.cpp
+++ b/src/mongo/client/remote_command_targeter_rs.cpp
@@ -98,7 +98,7 @@ StatusWith<HostAndPort> RemoteCommandTargeterRS::findHost(OperationContext* opCt
return swHostAndPort;
}
-void RemoteCommandTargeterRS::markHostNotMaster(const HostAndPort& host, const Status& status) {
+void RemoteCommandTargeterRS::markHostNotPrimary(const HostAndPort& host, const Status& status) {
invariant(_rsMonitor);
_rsMonitor->failedHost(host, status);