style: fix typo in filter_include.go
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
48a763a90c
commit
27d9f4976e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ func NewIncludeFilter(regex string) (*IncludeFilter, error) {
|
||||||
return &IncludeFilter{regex: compiledRegex}, nil
|
return &IncludeFilter{regex: compiledRegex}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Include returns treue when the product name matches the regex
|
// Include returns true when the product name matches the regex
|
||||||
// implements the Filter interface
|
// implements the Filter interface
|
||||||
func (f *IncludeFilter) Include(product *Product) bool {
|
func (f *IncludeFilter) Include(product *Product) bool {
|
||||||
if f.regex == nil {
|
if f.regex == nil {
|
||||||
|
|
Reference in a new issue