Skip to content

Commit

Permalink
Remove derecated featuregate funcs/structs from v0.50.0
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu committed May 11, 2022
1 parent 4878d42 commit 6dbc843
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions service/featuregate/gates.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,6 @@ func GetRegistry() *Registry {
return reg
}

// Deprecated: [v0.50.0] Use GetRegistry().Apply.
var Apply = GetRegistry().Apply

// Deprecated: [v0.50.0] Use GetRegistry().IsEnabled.
var IsEnabled = GetRegistry().IsEnabled

// Deprecated: [v0.50.0] Use GetRegistry().List.
var List = GetRegistry().List

// Deprecated: [v0.50.0] Use GetRegistry().MustRegister.
var Register = GetRegistry().MustRegister

// NewRegistry returns a new empty Registry.
func NewRegistry() *Registry {
return &Registry{gates: make(map[string]Gate)}
Expand Down

0 comments on commit 6dbc843

Please sign in to comment.