From 37fd576509a5e8a889800f977d63c8c8dbcd1098 Mon Sep 17 00:00:00 2001 From: avilevy Date: Mon, 30 Oct 2023 19:52:57 +0000 Subject: [PATCH] fix to feature tracking test --- confgenerator/feature_tracking_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/confgenerator/feature_tracking_test.go b/confgenerator/feature_tracking_test.go index cf109be405..99f1f4c918 100644 --- a/confgenerator/feature_tracking_test.go +++ b/confgenerator/feature_tracking_test.go @@ -26,7 +26,7 @@ import ( "testing" "time" - "github.com/GoogleCloudPlatform/ops-agent/apps" + _ "github.com/GoogleCloudPlatform/ops-agent/apps" "github.com/GoogleCloudPlatform/ops-agent/confgenerator" "github.com/GoogleCloudPlatform/ops-agent/confgenerator/otel" "github.com/google/go-cmp/cmp" @@ -794,7 +794,6 @@ func TestPrometheusFeatureMetrics(t *testing.T) { } func TestGolden(t *testing.T) { - _ = apps.BuiltInConfStructs components := confgenerator.LoggingReceiverTypes.GetComponentsFromRegistry() components = append(components, confgenerator.LoggingProcessorTypes.GetComponentsFromRegistry()...) components = append(components, confgenerator.MetricsReceiverTypes.GetComponentsFromRegistry()...)