diff options
Diffstat (limited to 'src/mongo/s/client/sharding_network_connection_hook.h')
| -rw-r--r-- | src/mongo/s/client/sharding_network_connection_hook.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/client/sharding_network_connection_hook.h b/src/mongo/s/client/sharding_network_connection_hook.h index d3715dcec1b..c77428e56d9 100644 --- a/src/mongo/s/client/sharding_network_connection_hook.h +++ b/src/mongo/s/client/sharding_network_connection_hook.h @@ -45,18 +45,18 @@ public: /** * Checks that the given host is valid to be used in this sharded cluster, based on its - * "hello" response. + * isMaster response. */ Status validateHost(const HostAndPort& remoteHost, const BSONObj& request, - const executor::RemoteCommandResponse& helloReply) override; + const executor::RemoteCommandResponse& isMasterReply) override; /** * Implementation of validateHost can be called without a ShardingNetworkConnectionHook * instance. */ static Status validateHostImpl(const HostAndPort& remoteHost, - const executor::RemoteCommandResponse& helloReply); + const executor::RemoteCommandResponse& isMasterReply); /** * Makes a SetShardVersion request for initializing sharding information on the new connection. |
