Skip to content

Commit

Permalink
fix golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ameshkov committed Dec 14, 2021
1 parent becb0d7 commit adb8306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filterutil/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func ExtractHostname(url string) string {
// . max length of ascii hostname including dots is 253 characters
// . TLD is >=2 characters
// . TLD is [a-zA-Z]+ or "xn--[a-zA-Z0-9]+"
//nolint(gocyclo)
//nolint:gocyclo
func IsDomainName(name string) bool {
if len(name) > 253 {
return false
Expand Down

0 comments on commit adb8306

Please sign in to comment.