tektoncd/pipeline

Migrate deprecated `sets.{String,Byte,Int,…}` to `sets.Sets[String,…]`

Open

#7,374 opened on Nov 16, 2023

View on GitHub
 (7 comments) (0 reactions) (3 assignees)Go (1,943 forks)auto 404
area/dependencygogood first issuehelp wantedkind/cleanup

Repository metrics

Stars
 (9,013 stars)
PR merge metrics
 (PR metrics pending)

Description

The k8s.io/apimachinery/pkg/util/sets has deprecated the usage of sets.String and its siblings (sets.Byte, …).

Instead, we should use generics, aka sets.Set[string], … see sets.Set.

Contributor guide