Skip to content

Commit 0ab8193

Browse files
committed
Obfuscate parameters type for gocritic
Signed-off-by: Anders F Björklund <[email protected]>
1 parent 32eb334 commit 0ab8193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/limayaml/validate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ func lookupIP(host string) error {
464464
return err
465465
}
466466

467-
func validateHost(field string, host string) error {
467+
func validateHost(field, host string) error {
468468
if net.ParseIP(host) != nil {
469469
return nil
470470
}

0 commit comments

Comments
 (0)