Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: haanhvu <[email protected]>
  • Loading branch information
haanhvu committed Jun 13, 2024
1 parent bf165e2 commit d9f4678
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions plugin/storage/clickhouse/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ func NewFactory(ctx context.Context, cfg Config, logger *zap.Logger) *Factory {
}

func (f *Factory) ExportSpans(ctx context.Context, td ptrace.Traces) error {
if err := chSpanStore.ExportSpans(ctx, f.client, f.spansTableName, td); err != nil {
return err
}

return nil
err := chSpanStore.ExportSpans(ctx, f.client, f.spansTableName, td)
return err

Check warning on line 49 in plugin/storage/clickhouse/factory.go

View check run for this annotation

Codecov / codecov/patch

plugin/storage/clickhouse/factory.go#L47-L49

Added lines #L47 - L49 were not covered by tests
}

func (*Factory) Initialize(_ metrics.Factory, _ *zap.Logger) error {
Expand Down

0 comments on commit d9f4678

Please sign in to comment.