Skip to content

Commit

Permalink
chore: fix linter issues (#403)
Browse files Browse the repository at this point in the history
* chore: fix linter issues

* Fix codecov

* Remove unnecessary token
  • Loading branch information
raphael authored Apr 13, 2024
1 parent 0240cb3 commit 243aa36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clue/exporters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func TestNewGRPCMetricExporter(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
otlpmetricgrpcNew = func(ctx context.Context, options ...otlpmetricgrpc.Option) (*otlpmetricgrpc.Exporter, error) {
otlpmetricgrpcNew = func(ctx context.Context, _ ...otlpmetricgrpc.Option) (*otlpmetricgrpc.Exporter, error) {
if tt.newErr != nil {
return nil, tt.newErr
}
Expand Down Expand Up @@ -93,7 +93,7 @@ func TestNewHTTPMetricExporter(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
otlpmetrichttpNew = func(ctx context.Context, options ...otlpmetrichttp.Option) (*otlpmetrichttp.Exporter, error) {
otlpmetrichttpNew = func(ctx context.Context, _ ...otlpmetrichttp.Option) (*otlpmetrichttp.Exporter, error) {
if tt.newErr != nil {
return nil, tt.newErr
}
Expand Down Expand Up @@ -145,7 +145,7 @@ func TestNewGRPCSpanExporter(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
otlptracegrpcNew = func(ctx context.Context, options ...otlptracegrpc.Option) (*otlptrace.Exporter, error) {
otlptracegrpcNew = func(ctx context.Context, _ ...otlptracegrpc.Option) (*otlptrace.Exporter, error) {
if tt.newErr != nil {
return nil, tt.newErr
}
Expand Down Expand Up @@ -197,7 +197,7 @@ func TestNewHTTPSpanExporter(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
otlptracehttpNew = func(ctx context.Context, options ...otlptracehttp.Option) (*otlptrace.Exporter, error) {
otlptracehttpNew = func(ctx context.Context, _ ...otlptracehttp.Option) (*otlptrace.Exporter, error) {
if tt.newErr != nil {
return nil, tt.newErr
}
Expand Down

0 comments on commit 243aa36

Please sign in to comment.