diff --git a/pkg/apis/configuration/validation/globalconfiguration_test.go b/pkg/apis/configuration/validation/globalconfiguration_test.go index ceff693a86..014db33c3f 100644 --- a/pkg/apis/configuration/validation/globalconfiguration_test.go +++ b/pkg/apis/configuration/validation/globalconfiguration_test.go @@ -237,15 +237,15 @@ func TestValidateListeners_PassesOnValidIPListeners(t *testing.T) { { name: "UDP and HTTP Listeners with Same Port", listeners: []conf_v1.Listener{ - {Name: "listener-1", IPv4: "127.0.0.1", Port: 8080, Protocol: "UDP"}, - {Name: "listener-2", IPv4: "127.0.0.1", Port: 8080, Protocol: "HTTP"}, + {Name: "listener-1", IPv4IP: "127.0.0.1", Port: 8080, Protocol: "UDP"}, + {Name: "listener-2", IPv4IP: "127.0.0.1", Port: 8080, Protocol: "HTTP"}, }, }, { name: "UDP and TCP Listeners with Same Port", listeners: []conf_v1.Listener{ - {Name: "listener-1", IPv4: "127.0.0.1", Port: 8080, Protocol: "UDP"}, - {Name: "listener-2", IPv4: "127.0.0.1", Port: 8080, Protocol: "TCP"}, + {Name: "listener-1", IPv4IP: "127.0.0.1", Port: 8080, Protocol: "UDP"}, + {Name: "listener-2", IPv4IP: "127.0.0.1", Port: 8080, Protocol: "TCP"}, }, }, }