Skip to content

Commit

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

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

return nil
return chSpanStore.ExportSpans(ctx, f.client, f.spansTableName, td)
}

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

0 comments on commit b56a65b

Please sign in to comment.