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 <anders.f.bjorklund@gmail.com>
  • Loading branch information
afbjorklund committed Jan 2, 2024
1 parent ab471db commit b91338b
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 b91338b

Please sign in to comment.