Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
  • Loading branch information
pavolloffay committed Apr 24, 2020
1 parent 06bc09a commit 6c3b192
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
package jaegerreceiver

import (
"context"
"testing"

"github.com/open-telemetry/opentelemetry-collector/component"
"github.com/open-telemetry/opentelemetry-collector/config/configerror"
"github.com/open-telemetry/opentelemetry-collector/receiver/jaegerreceiver"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"go.uber.org/zap"

"github.com/jaegertracing/jaeger/plugin/sampling/strategystore/static"
)
Expand Down Expand Up @@ -52,7 +51,7 @@ func TestCreateMetricsExporter(t *testing.T) {
f := &Factory{
Wrapped: &jaegerreceiver.Factory{},
}
mReceiver, err := f.CreateMetricsReceiver(context.Background(), component.ReceiverCreateParams{}, nil, nil)
mReceiver, err := f.CreateMetricsReceiver(zap.NewNop(), nil, nil)
assert.Equal(t, err, configerror.ErrDataTypeIsNotSupported)
assert.Nil(t, mReceiver)
}

0 comments on commit 6c3b192

Please sign in to comment.