satisfy linter (#98)

This commit is contained in:
T. von Dein
2026-07-15 23:57:02 +02:00
parent 00c5d79794
commit d69984b01f
2 changed files with 1 additions and 4 deletions

View File

@@ -95,9 +95,7 @@ func filterIndexTemplates(conf *cfg.Config, nameFilter string,
if len(conf.Filter) > 0 {
if !mapmap.NewSlicer(tpl.IndexTemplate.IndexPatterns).
FindSliceInSlice(conf.Filter, func(val, find string) bool {
return strings.Contains(val, find)
}) {
FindSliceInSlice(conf.Filter, strings.Contains) {
return false
}
}