remove deprecated NodeLegacyHostIP

This commit is contained in:
NickrenREN
2017-04-24 10:21:29 +08:00
parent 35159f9c45
commit 7d00e5cfb6
21 changed files with 31 additions and 88 deletions

View File

@@ -483,7 +483,6 @@ func createService(clientset client.Interface, namespace, svcName, federationNam
func getClusterNodeIPs(clientset client.Interface) ([]string, error) {
preferredAddressTypes := []api.NodeAddressType{
api.NodeExternalIP,
api.NodeLegacyHostIP,
}
nodeList, err := clientset.Core().Nodes().List(metav1.ListOptions{})
if err != nil {