summaryrefslogtreecommitdiff
path: root/src/mongo/executor/test_network_connection_hook.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/executor/test_network_connection_hook.h')
-rw-r--r--src/mongo/executor/test_network_connection_hook.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/executor/test_network_connection_hook.h b/src/mongo/executor/test_network_connection_hook.h
index 5a22ac24f54..c825903c7dc 100644
--- a/src/mongo/executor/test_network_connection_hook.h
+++ b/src/mongo/executor/test_network_connection_hook.h
@@ -53,8 +53,8 @@ public:
Status validateHost(const HostAndPort& remoteHost,
const BSONObj& request,
- const RemoteCommandResponse& isMasterReply) override {
- return _validateFunc(remoteHost, request, isMasterReply);
+ const RemoteCommandResponse& helloReply) override {
+ return _validateFunc(remoteHost, request, helloReply);
}
StatusWith<boost::optional<RemoteCommandRequest>> makeRequest(const HostAndPort& remoteHost) {