From e3e729ad7ac8bb0dc08f0f2a31f1310093bd26db Mon Sep 17 00:00:00 2001 From: alegrey91 Date: Tue, 14 Sep 2021 09:23:45 +0200 Subject: [PATCH] fix: remove lint error --- pkg/webhook/ingress/validate_wildcard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/webhook/ingress/validate_wildcard.go b/pkg/webhook/ingress/validate_wildcard.go index 21d036e21..c9106ee41 100644 --- a/pkg/webhook/ingress/validate_wildcard.go +++ b/pkg/webhook/ingress/validate_wildcard.go @@ -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, "*") {