From 6eb1f2284c97d75819278b96b88327fb5a6da14f Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Wed, 11 May 2022 13:43:35 -0700 Subject: [PATCH] Remove derecated featuregate funcs/structs from v0.50.0 Signed-off-by: Bogdan Drutu --- CHANGELOG.md | 1 + service/featuregate/gates.go | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c07f913372b..c70adc9abde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 🚩 diff --git a/service/featuregate/gates.go b/service/featuregate/gates.go index 68869aac897..3cde777de5b 100644 --- a/service/featuregate/gates.go +++ b/service/featuregate/gates.go @@ -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)}