Replace NodeLegacyHostIP with NodeInternalIP

This commit is contained in:
Manuel de Brito Fontes 2017-05-20 20:11:58 -04:00
parent 9ddf98769a
commit b1d6468d5d
3 changed files with 11 additions and 11 deletions

View file

@ -121,7 +121,7 @@ func buildSimpleClientSet() *testclient.Clientset {
Status: api_v1.NodeStatus{
Addresses: []api_v1.NodeAddress{
{
Type: api_v1.NodeLegacyHostIP,
Type: api_v1.NodeInternalIP,
Address: "10.0.0.1",
}, {
Type: api_v1.NodeExternalIP,
@ -137,7 +137,7 @@ func buildSimpleClientSet() *testclient.Clientset {
Status: api_v1.NodeStatus{
Addresses: []api_v1.NodeAddress{
{
Type: api_v1.NodeLegacyHostIP,
Type: api_v1.NodeInternalIP,
Address: "11.0.0.1",
},
{