summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter_standalone.cpp
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2020-10-19 12:52:15 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-09 16:58:10 +0000
commitacff91727f94716ca3f1a1e3d8d839d17f07b3d9 (patch)
treea354b59edb3d38103a5e79cbce915fd2b3f7afa7 /src/mongo/client/remote_command_targeter_standalone.cpp
parent8e777baedf13e0ee2cc366ef6a6420e0badcf0d2 (diff)
downloadmongo-acff91727f94716ca3f1a1e3d8d839d17f07b3d9.tar.gz
SERVER-50510 Change markHostNotMaster to markHostNotPrimary
Diffstat (limited to 'src/mongo/client/remote_command_targeter_standalone.cpp')
-rw-r--r--src/mongo/client/remote_command_targeter_standalone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/remote_command_targeter_standalone.cpp b/src/mongo/client/remote_command_targeter_standalone.cpp
index c41f759004f..4eb0dc25350 100644
--- a/src/mongo/client/remote_command_targeter_standalone.cpp
+++ b/src/mongo/client/remote_command_targeter_standalone.cpp
@@ -58,8 +58,8 @@ StatusWith<HostAndPort> RemoteCommandTargeterStandalone::findHost(
return _hostAndPort;
}
-void RemoteCommandTargeterStandalone::markHostNotMaster(const HostAndPort& host,
- const Status& status) {
+void RemoteCommandTargeterStandalone::markHostNotPrimary(const HostAndPort& host,
+ const Status& status) {
dassert(host == _hostAndPort);
}