Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions leaderelection/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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 {
Expand Down