diff options
author | ncteisen <ncteisen@gmail.com> | 2018-12-07 10:11:30 -0800 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-12-07 10:11:30 -0800 |
commit | 87b1c3ce56363a557f2874ab94b8af516e8ae532 (patch) | |
tree | dad6acf1e1588839ad8fb5afd7500021885d0a49 /src/core/ext/filters | |
parent | d7c252c9473a2a97eb441369603d8cc9ad64403c (diff) |
reviewer feedback
Diffstat (limited to 'src/core/ext/filters')
-rw-r--r-- | src/core/ext/filters/client_channel/connector.h | 4 | ||||
-rw-r--r-- | src/core/ext/filters/client_channel/subchannel.cc | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/core/ext/filters/client_channel/connector.h b/src/core/ext/filters/client_channel/connector.h index 484cc1b3c3..a5ef9bc255 100644 --- a/src/core/ext/filters/client_channel/connector.h +++ b/src/core/ext/filters/client_channel/connector.h @@ -49,8 +49,8 @@ typedef struct { /** channel arguments (to be passed to the filters) */ grpc_channel_args* channel_args; - /** socket node of the connected transport */ - grpc_core::channelz::SocketNode* socket_node; + /** socket node of the connected transport. 0 if not availible */ + intptr_t socket_uuid; } grpc_connect_out_args; struct grpc_connector_vtable { diff --git a/src/core/ext/filters/client_channel/subchannel.cc b/src/core/ext/filters/client_channel/subchannel.cc index e66b0711cf..0817b1dd39 100644 --- a/src/core/ext/filters/client_channel/subchannel.cc +++ b/src/core/ext/filters/client_channel/subchannel.cc @@ -826,9 +826,7 @@ static bool publish_transport_locked(grpc_subchannel* c) { GRPC_ERROR_UNREF(error); return false; } - intptr_t socket_uuid = c->connecting_result.socket_node == nullptr - ? 0 - : c->connecting_result.socket_node->uuid(); + intptr_t socket_uuid = c->connecting_result.socket_uuid; memset(&c->connecting_result, 0, sizeof(c->connecting_result)); if (c->disconnected) { |