Skip to content

Commit 9ac5f5c

Browse files
committed
Unknown instead of invalid
1 parent 086cd68 commit 9ac5f5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

iana/iana.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func ExtractSuffix(name string) (string, error) {
2525
suffix := rule.Decompose(name)[1]
2626

2727
if !zlintutil.IsInTLDMap(suffix) {
28-
return "", fmt.Errorf("Domain %s has an invalid TLD %s", name, suffix)
28+
return "", fmt.Errorf("Domain %s has an unknown TLD %s", name, suffix)
2929
}
3030

3131
// If the TLD is empty, it means name is actually a suffix.

0 commit comments

Comments
 (0)