Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafonseca committed Jan 26, 2024
1 parent fdf53cb commit c0ffcd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ingress/controller/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -1415,12 +1415,12 @@ func buildH2CListener(t, s interface{}) string {
}

addrV4 := []string{""}
co := commonListenOptions(&tc, hostname)

if len(tc.Cfg.BindAddressIpv4) > 0 {
addrV4 = tc.Cfg.BindAddressIpv4
}

co := commonListenOptions(&tc, hostname)

out = append(out, h2cListener(addrV4, co, &tc)...)

if !tc.IsIPV6Enabled {
Expand Down

0 comments on commit c0ffcd2

Please sign in to comment.