From b91338bee8609fd5736aa221cc4093ddd062b5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Tue, 2 Jan 2024 08:13:57 +0100 Subject: [PATCH] Obfuscate parameters type for gocritic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anders F Björklund --- pkg/limayaml/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/limayaml/validate.go b/pkg/limayaml/validate.go index 3a442a34b80a..ae3e7f489365 100644 --- a/pkg/limayaml/validate.go +++ b/pkg/limayaml/validate.go @@ -464,7 +464,7 @@ func lookupIP(host string) error { return err } -func validateHost(field string, host string) error { +func validateHost(field, host string) error { if net.ParseIP(host) != nil { return nil }