From 9a751126c82fdad64677af5414f34144312e2c0d Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Wed, 14 Oct 2020 17:31:28 +0300 Subject: [PATCH] Update lib/types/hostnametrie.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ivan Mirić --- lib/types/hostnametrie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/hostnametrie.go b/lib/types/hostnametrie.go index b9b0c6e401d..eb3ab7d500d 100644 --- a/lib/types/hostnametrie.go +++ b/lib/types/hostnametrie.go @@ -128,7 +128,7 @@ func isValidHostnamePattern(s string) error { } // insert a hostname pattern into the given HostnameTrie. Returns an error -// if hostname pattern is valid. +// if hostname pattern is invalid. func (t *HostnameTrie) insert(s string) error { s = strings.ToLower(s) if err := isValidHostnamePattern(s); err != nil {