diff --git a/internal/transform/colors.go b/internal/transform/colors.go index d3fef8b2d..5b70bf02c 100644 --- a/internal/transform/colors.go +++ b/internal/transform/colors.go @@ -27,7 +27,7 @@ func labelToSeed(key string, val string) int64 { // from label key and value passed here // It's used to generate unique colors for configured labels func ColorLabel(colorStore models.LabelsColorMap, key string, val string) { - if slices.StringInSlice(config.Config.Labels.Color.Unique, key) == true { + if slices.StringInSlice(config.Config.Labels.Color.Unique, key) { if _, found := colorStore[key]; !found { colorStore[key] = make(map[string]models.LabelColors) }