Skip to content

Commit

Permalink
Obfuscate parameters type for gocritic
Browse files Browse the repository at this point in the history
Signed-off-by: Anders F Björklund <[email protected]>
  • Loading branch information
afbjorklund committed Jan 2, 2024
1 parent 32eb334 commit 0ab8193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/limayaml/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0ab8193

Please sign in to comment.