Skip to content

Commit

Permalink
Update lib/types/hostnametrie.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Mirić <[email protected]>
  • Loading branch information
mstoykov and Ivan Mirić authored Oct 14, 2020
1 parent 8321e9b commit 9a75112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/hostnametrie.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9a75112

Please sign in to comment.