Skip to content

Commit

Permalink
Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baliedge committed Jun 16, 2023
1 parent 23e664c commit 9580d27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions instrumentation/google.golang.org/grpc/otelgrpc/config.go
Expand Up @@ -135,6 +135,7 @@ func WithMeterProvider(mp metric.MeterProvider) Option {
return meterProviderOption{mp: mp}
}

// Event type that can be recorded, see WithMessageEvents.
type Event int

// Different types of events that can be recorded, see WithMessageEvents.
Expand Down
Expand Up @@ -422,7 +422,7 @@ func TestStreamClientInterceptorOnBIDIStream(t *testing.T) {
name := "github.com.serviceName/bar"
opts := clientStreamOpts{
NumRecvMsgs: 10,
Events: []otelgrpc.Event{otelgrpc.SentEvents, otelgrpc.ReceivedEvents},
Events: []otelgrpc.Event{otelgrpc.SentEvents, otelgrpc.ReceivedEvents},
}
streamClient, sr := createInterceptedStreamClient(t, method, opts)
_, ok := getSpanFromRecorder(sr, name)
Expand Down

0 comments on commit 9580d27

Please sign in to comment.