Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
taniyourstruly committed Aug 13, 2024
1 parent a1d71f2 commit 1f5442b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apis/v1beta1/collector_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,11 @@ func TestOTELColValidatingWebhook(t *testing.T) {
three := int32(3)
five := int32(5)

err := v1beta1.AddToScheme(testScheme)
require.NoError(t, err)

cfg := v1beta1.Config{}
err := yaml.Unmarshal([]byte(cfgYaml), &cfg)
err = yaml.Unmarshal([]byte(cfgYaml), &cfg)
require.NoError(t, err)

tests := []struct { //nolint:govet
Expand Down

0 comments on commit 1f5442b

Please sign in to comment.