Merge pull request #90742 from jiahuif/remove-cloud-node-addresses-todo

remove obsolete TODO item of NodeAddresses
This commit is contained in:
Kubernetes Prow Robot 2020-05-05 12:39:09 -07:00 committed by GitHub
commit ff45f0d311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,9 +157,6 @@ type LoadBalancer interface {
// Instances is an abstract, pluggable interface for sets of instances.
type Instances interface {
// NodeAddresses returns the addresses of the specified instance.
// TODO(roberthbailey): This currently is only used in such a way that it
// returns the address of the calling instance. We should do a rename to
// make this clearer.
NodeAddresses(ctx context.Context, name types.NodeName) ([]v1.NodeAddress, error)
// NodeAddressesByProviderID returns the addresses of the specified instance.
// The instance is specified using the providerID of the node. The