Skip to content

Commit

Permalink
lint and change field name
Browse files Browse the repository at this point in the history
  • Loading branch information
j1m-ryan committed Sep 12, 2024
1 parent d996555 commit 57a9d76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/apis/configuration/validation/globalconfiguration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
},
}
Expand Down

0 comments on commit 57a9d76

Please sign in to comment.