diff options
author | Adam Czachorowski <adamcz@google.com> | 2017-12-14 16:21:00 +0100 |
---|---|---|
committer | Adam Czachorowski <adamcz@google.com> | 2017-12-14 16:21:00 +0100 |
commit | c73c4f7ae22c8f68a93b1bf062d92e37aef79431 (patch) | |
tree | aa937ddfb2c9ad8d8686edb09f2d3cd47a246276 /src/core/ext/filters/client_channel/lb_policy_factory.h | |
parent | b2c389352fa0dc6f0636e2806d525174315128af (diff) |
Fix the ownership comment on grpc_lb_addresses_set_address() function.
It does not take ownership of balancer_name since commit
53af23cfbf3b1fd4579ec084dbcb7b89a7ae2e96
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy_factory.h')
-rw-r--r-- | src/core/ext/filters/client_channel/lb_policy_factory.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy_factory.h b/src/core/ext/filters/client_channel/lb_policy_factory.h index 9da231b657..db917cba58 100644 --- a/src/core/ext/filters/client_channel/lb_policy_factory.h +++ b/src/core/ext/filters/client_channel/lb_policy_factory.h @@ -70,16 +70,14 @@ grpc_lb_addresses* grpc_lb_addresses_create( grpc_lb_addresses* grpc_lb_addresses_copy(const grpc_lb_addresses* addresses); /** Sets the value of the address at index \a index of \a addresses. - * \a address is a socket address of length \a address_len. - * Takes ownership of \a balancer_name. */ + * \a address is a socket address of length \a address_len. */ void grpc_lb_addresses_set_address(grpc_lb_addresses* addresses, size_t index, const void* address, size_t address_len, bool is_balancer, const char* balancer_name, void* user_data); /** Sets the value of the address at index \a index of \a addresses from \a uri. - * Returns true upon success, false otherwise. Takes ownership of \a - * balancer_name. */ + * Returns true upon success, false otherwise. */ bool grpc_lb_addresses_set_address_from_uri(grpc_lb_addresses* addresses, size_t index, const grpc_uri* uri, bool is_balancer, |