Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove derecated featuregate funcs/structs from v0.50.0 #5346

Merged
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### 🛑 Breaking changes 🛑

- Remove deprecated pdata funcs/structs from v0.50.0 (#5345)
- Remove derecated featuregate funcs/structs from v0.50.0 (#5346)

### 🚩 Deprecations 🚩

Expand Down
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