From 258c69a17c977867dfd0a7ad02727270b7c172e7 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Tue, 11 Apr 2023 15:10:21 +0100 Subject: [PATCH] chore: fixing filters Signed-off-by: Alex Jones --- cmd/filters/list.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/filters/list.go b/cmd/filters/list.go index 59a3f42b8d..aeaec9bdfb 100644 --- a/cmd/filters/list.go +++ b/cmd/filters/list.go @@ -39,7 +39,12 @@ var listCmd = &cobra.Command{ if len(inactiveFilters) != 0 { fmt.Printf(color.YellowString("Unused: \n")) for _, filter := range inactiveFilters { - fmt.Printf("> %s\n", color.RedString(filter)) + // if the filter is an integration, mark this differently + if util.SliceContainsString(integrationFilters, filter) { + fmt.Printf("> %s\n", color.BlueString("%s (integration)\n", filter)) + } else { + fmt.Printf("> %s\n", color.RedString(filter)) + } } }