Closed
Description
There are a handful of files containing a list of variables that is intended to be kept sorted, including at least
pkg/features/kube_features.go
(❌)pkg/features/versioned_kube_features.go
(❌)staging/src/k8s.io/client-go/features/known_features.go
staging/src/k8s.io/apiserver/pkg/features/kube_features.go
(❌)staging/src/k8s.io/controller-manager/pkg/features/kube_features.go
staging/src/k8s.io/apiextensions-apiserver/pkg/features/kube_features.go
test/e2e/feature/feature.go
(❌)test/e2e/environment/environment.go
The ones marked ❌ are currently not sorted in master (and the other ones only have 1 or 2 elements in them and would presumably be unsorted if they were longer).
Someone should write a linter that checks this.
/area code-organization
/help
Metadata
Metadata
Assignees
Labels
Issues or PRs related to kubernetes code organizationDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Indicates an issue or PR lacks a `triage/foo` label and requires one.Categorizes an issue or PR as relevant to SIG Architecture.Categorizes an issue or PR as relevant to SIG Testing.