From e293a78d73e5c9302e024dee8717fad426fe0c74 Mon Sep 17 00:00:00 2001 From: Itiel Olenick Date: Fri, 5 Jul 2024 12:51:59 +0300 Subject: [PATCH] Renamed fg import --- internal/manifests/targetallocator/container_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/manifests/targetallocator/container_test.go b/internal/manifests/targetallocator/container_test.go index 7a78069524..e8b23e1f7a 100644 --- a/internal/manifests/targetallocator/container_test.go +++ b/internal/manifests/targetallocator/container_test.go @@ -24,10 +24,10 @@ import ( "github.com/open-telemetry/opentelemetry-operator/internal/config" "github.com/open-telemetry/opentelemetry-operator/internal/manifests/manifestutils" "github.com/open-telemetry/opentelemetry-operator/internal/naming" - a "github.com/open-telemetry/opentelemetry-operator/pkg/featuregate" + "github.com/open-telemetry/opentelemetry-operator/pkg/featuregate" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.opentelemetry.io/collector/featuregate" + colfg "go.opentelemetry.io/collector/featuregate" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/util/intstr" @@ -391,7 +391,7 @@ func TestContainerWithCertManagerAvailable(t *testing.T) { // prepare targetAllocator := v1alpha1.TargetAllocator{} - flgs := a.Flags(featuregate.GlobalRegistry()) + flgs := featuregate.Flags(colfg.GlobalRegistry()) err := flgs.Parse([]string{"--feature-gates=operator.targetallocator.mtls"}) require.NoError(t, err)