To keep comment of NodeLegacyHostIP for k8s node address

Signed-off-by: jojohappy <sarahdj0917@gmail.com>
This commit is contained in:
jojohappy 2018-07-07 10:43:50 +08:00
parent f5794b0ff9
commit e060f7755f
1 changed files with 1 additions and 0 deletions

View File

@ -192,6 +192,7 @@ func (n *Node) buildNode(node *apiv1.Node) *targetgroup.Group {
// nodeAddresses returns the provided node's address, based on the priority:
// 1. NodeInternalIP
// 2. NodeExternalIP
// 3. NodeLegacyHostIP
// 3. NodeHostName
//
// Derived from k8s.io/kubernetes/pkg/util/node/node.go