We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d996555 commit 57a9d76Copy full SHA for 57a9d76
pkg/apis/configuration/validation/globalconfiguration_test.go
@@ -237,15 +237,15 @@ func TestValidateListeners_PassesOnValidIPListeners(t *testing.T) {
237
{
238
name: "UDP and HTTP Listeners with Same Port",
239
listeners: []conf_v1.Listener{
240
- {Name: "listener-1", IPv4: "127.0.0.1", Port: 8080, Protocol: "UDP"},
241
- {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"},
242
},
243
244
245
name: "UDP and TCP Listeners with Same Port",
246
247
248
- {Name: "listener-2", IPv4: "127.0.0.1", Port: 8080, Protocol: "TCP"},
+ {Name: "listener-2", IPv4IP: "127.0.0.1", Port: 8080, Protocol: "TCP"},
249
250
251
}
0 commit comments