mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-25 23:10:05 +00:00
chore: fixing filters
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
@@ -39,9 +39,14 @@ var listCmd = &cobra.Command{
|
||||
if len(inactiveFilters) != 0 {
|
||||
fmt.Printf(color.YellowString("Unused: \n"))
|
||||
for _, filter := range inactiveFilters {
|
||||
// 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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user