Skip to content

Commit

Permalink
Remove deprecated featuregate.GetRegistry
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu committed Jan 24, 2023
1 parent fec9cd3 commit d64011d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .chloggen/rmgetreg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: breaking

# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
component: featuregate

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Remove deprecated GetRegistry

# One or more tracking issues or pull requests related to the change
issues: []
3 changes: 0 additions & 3 deletions featuregate/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ import (

var globalRegistry = NewRegistry()

// Deprecated: [v0.70.0] use GlobalRegistry.
var GetRegistry = GlobalRegistry

// GlobalRegistry returns the global Registry.
func GlobalRegistry() *Registry {
return globalRegistry
Expand Down

0 comments on commit d64011d

Please sign in to comment.