From 626af8ef688392a39998861d3e841676621b07f8 Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Mon, 23 Sep 2024 12:36:49 -0700 Subject: [PATCH] [chore] remove exported internal unnecessary constant (#11250) Signed-off-by: Bogdan Drutu --- internal/globalgates/globalgates.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/globalgates/globalgates.go b/internal/globalgates/globalgates.go index d018e9dd842..5aef63077c9 100644 --- a/internal/globalgates/globalgates.go +++ b/internal/globalgates/globalgates.go @@ -15,13 +15,11 @@ var NoopTracerProvider = featuregate.GlobalRegistry().MustRegister("service.noop featuregate.WithRegisterToVersion("v0.109.0"), featuregate.WithRegisterDescription("Sets a Noop OpenTelemetry TracerProvider to reduce memory allocations. This featuregate is incompatible with the zPages extension.")) -const UseLocalHostAsDefaultHostID = "component.UseLocalHostAsDefaultHost" - // UseLocalHostAsDefaultHostfeatureGate is the feature gate that controls whether // server-like receivers and extensions such as the OTLP receiver use localhost as the default host for their endpoints. var _ = mustRegisterOrLoad( featuregate.GlobalRegistry(), - UseLocalHostAsDefaultHostID, + "component.UseLocalHostAsDefaultHost", featuregate.StageStable, featuregate.WithRegisterToVersion("v0.110.0"), featuregate.WithRegisterDescription("controls whether server-like receivers and extensions such as the OTLP receiver use localhost as the default host for their endpoints"),