Skip to content

Commit

Permalink
unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
taniyourstruly committed Aug 13, 2024
1 parent f95327f commit 33fbc03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apis/v1beta1/collector_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,8 @@ 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 33fbc03

Please sign in to comment.