Skip to content

Commit d9f4678

Browse files
committed
Fix lint
Signed-off-by: haanhvu <[email protected]>
1 parent bf165e2 commit d9f4678

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

plugin/storage/clickhouse/factory.go

+2-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,8 @@ func NewFactory(ctx context.Context, cfg Config, logger *zap.Logger) *Factory {
4545
}
4646

4747
func (f *Factory) ExportSpans(ctx context.Context, td ptrace.Traces) error {
48-
if err := chSpanStore.ExportSpans(ctx, f.client, f.spansTableName, td); err != nil {
49-
return err
50-
}
51-
52-
return nil
48+
err := chSpanStore.ExportSpans(ctx, f.client, f.spansTableName, td)
49+
return err
5350
}
5451

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

0 commit comments

Comments
 (0)