Minor fixes

pull/19463/head
Hope Casey-Allen 6 years ago
parent a019017840
commit 03b063568d
  1. 3
      src/core/ext/filters/client_channel/client_channel_channelz.cc
  2. 2
      src/core/ext/filters/client_channel/client_channel_channelz.h

@ -47,8 +47,7 @@ void SubchannelNode::SetChildSocketUuid(intptr_t uuid) {
}
void SubchannelNode::PopulateConnectivityState(grpc_json* json) {
grpc_connectivity_state state;
state = connectivity_state_.Load(MemoryOrder::RELAXED);
grpc_connectivity_state state = connectivity_state_.Load(MemoryOrder::RELAXED);
json = grpc_json_create_child(nullptr, json, "state", nullptr,
GRPC_JSON_OBJECT, false);
grpc_json_create_child(nullptr, json, "state",

@ -37,7 +37,7 @@ class SubchannelNode : public BaseNode {
SubchannelNode(const char* target_address, size_t channel_tracer_max_nodes);
~SubchannelNode() override;
// Used when the subchannel's connectivity state changes.
// Sets the subchannel's connectivity state without health checking.
void UpdateConnectivityState(grpc_connectivity_state state);
// Used when the subchannel's child socket uuid changes. This should be set

Loading…
Cancel
Save