Skip to content

Commit

Permalink
remove the unused EnableFederation field
Browse files Browse the repository at this point in the history
  • Loading branch information
iawia002 committed Mar 7, 2022
1 parent ca4661a commit 0065d0d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/simple/client/multicluster/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ const (
type Options struct {
// Enable
// Deprecated: this field will be removed in the future version, use ClusterRole instead.
Enable bool `json:"enable" yaml:"enable"`
EnableFederation bool `json:"enableFederation,omitempty" yaml:"enableFederation,omitempty"`
Enable bool `json:"enable" yaml:"enable"`

// ProxyPublishService is the service name of multicluster component tower.
// If this field provided, apiserver going to use the ingress.ip of this service.
Expand Down Expand Up @@ -68,7 +67,6 @@ type Options struct {
func NewOptions() *Options {
return &Options{
Enable: false,
EnableFederation: false,
ProxyPublishAddress: "",
ProxyPublishService: "",
AgentImage: "kubesphere/tower:v1.0",
Expand Down

0 comments on commit 0065d0d

Please sign in to comment.