Skip to content

Commit

Permalink
Renamed fg import
Browse files Browse the repository at this point in the history
  • Loading branch information
ItielOlenick committed Jul 5, 2024
1 parent 475a1e2 commit e293a78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/manifests/targetallocator/container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit e293a78

Please sign in to comment.