diff options
author | David G. Quintas <dgq@google.com> | 2018-09-26 12:06:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-26 12:06:04 -0700 |
commit | 44a1b0bfd87dbb1876857ee7f3a3637f894c7598 (patch) | |
tree | b8a9532ba0a3ac1283892e7526e1a9281bd044b3 /src/core/ext/filters/client_channel/lb_policy_factory.h | |
parent | 9554b9b3434422863a5ab450cb685d518b7e743f (diff) | |
parent | c73c4f7ae22c8f68a93b1bf062d92e37aef79431 (diff) |
Merge pull request #13779 from gislan/master
Fix the ownership comment on grpc_lb_addresses_set_address() function.
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 c07792d8a7..62bdbf2689 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, |