diff --git a/leaderelection/config.go b/leaderelection/config.go index 3d9df1dc79..8d785c522d 100644 --- a/leaderelection/config.go +++ b/leaderelection/config.go @@ -25,7 +25,6 @@ import ( "github.com/kelseyhightower/envconfig" corev1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/uuid" "k8s.io/client-go/tools/leaderelection/resourcelock" @@ -79,11 +78,6 @@ type Config struct { LeaseDuration time.Duration RenewDeadline time.Duration RetryPeriod time.Duration - - // This field is deprecated and will be removed once downstream - // repositories have removed their validation of it. - // TODO(https://github.com/knative/pkg/issues/1478): Remove this field. - EnabledComponents sets.String } func (c *Config) GetComponentConfig(name string) ComponentConfig {