From b56a65b9ad0aff52b385d32b6e6c2344473d9231 Mon Sep 17 00:00:00 2001 From: haanhvu Date: Thu, 13 Jun 2024 15:22:32 +0700 Subject: [PATCH] Rebase Signed-off-by: haanhvu --- plugin/storage/clickhouse/factory.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugin/storage/clickhouse/factory.go b/plugin/storage/clickhouse/factory.go index 8a35f27a4ec8..c219dbe408de 100644 --- a/plugin/storage/clickhouse/factory.go +++ b/plugin/storage/clickhouse/factory.go @@ -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 {