Unify parameter name

pull/17885/head
Juanli Shen 6 years ago
parent 8860eb34ab
commit 452fb4a67b
  1. 8
      src/core/ext/filters/client_channel/subchannel.cc
  2. 2
      src/core/ext/filters/client_channel/subchannel.h

@ -731,10 +731,10 @@ channelz::SubchannelNode* Subchannel::channelz_node() {
}
grpc_connectivity_state Subchannel::CheckConnectivity(
grpc_error** error, bool inhibit_health_checks) {
grpc_error** error, bool inhibit_health_checking) {
MutexLock lock(&mu_);
grpc_connectivity_state_tracker* tracker =
inhibit_health_checks ? &state_tracker_ : &state_and_health_tracker_;
inhibit_health_checking ? &state_tracker_ : &state_and_health_tracker_;
grpc_connectivity_state state = grpc_connectivity_state_get(tracker, error);
return state;
}
@ -742,9 +742,9 @@ grpc_connectivity_state Subchannel::CheckConnectivity(
void Subchannel::NotifyOnStateChange(grpc_pollset_set* interested_parties,
grpc_connectivity_state* state,
grpc_closure* notify,
bool inhibit_health_checks) {
bool inhibit_health_checking) {
grpc_connectivity_state_tracker* tracker =
inhibit_health_checks ? &state_tracker_ : &state_and_health_tracker_;
inhibit_health_checking ? &state_tracker_ : &state_and_health_tracker_;
ExternalStateWatcher* w;
if (state == nullptr) {
MutexLock lock(&mu_);

@ -213,7 +213,7 @@ class Subchannel {
// invokes \a notify and updates \a *state with the new state.
void NotifyOnStateChange(grpc_pollset_set* interested_parties,
grpc_connectivity_state* state, grpc_closure* notify,
bool inhibit_health_checks);
bool inhibit_health_checking);
// Resets the connection backoff of the subchannel.
// TODO(roth): Move connection backoff out of subchannels and up into LB

Loading…
Cancel
Save