Skip to content

Commit

Permalink
fix: remove lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
alegrey91 committed Sep 14, 2021
1 parent 5859914 commit e3e729a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhook/ingress/validate_wildcard.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (h *wildcard) wildcardHandler(ctx context.Context, clt client.Client, req a
}

// Loop over all the hosts present on the ingress.
for host, _ := range ingress.HostnamePathsPairs() {
for host := range ingress.HostnamePathsPairs() {
// Check if one of the host has wildcard.
if strings.HasPrefix(host, "*") {

Expand Down

0 comments on commit e3e729a

Please sign in to comment.