From ece09f142e235b33e9033353fb6de39427499d46 Mon Sep 17 00:00:00 2001 From: "rita.canavarro" Date: Fri, 21 Jul 2023 15:25:58 +0100 Subject: [PATCH] [FIX] Go format Signed-off-by: rita.canavarro --- pkg/shipper/shipper.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/shipper/shipper.go b/pkg/shipper/shipper.go index 0f7646fb11b..5c64b93a672 100644 --- a/pkg/shipper/shipper.go +++ b/pkg/shipper/shipper.go @@ -390,11 +390,13 @@ func (s *Shipper) upload(ctx context.Context, meta *metadata.Meta) error { return errors.Wrap(err, "write meta file") } - err := block.Upload(ctx, s.logger, s.bucket, updir, s.hashFunc); if err != nil { + err := block.Upload(ctx, s.logger, s.bucket, updir, s.hashFunc) + if err != nil { return errors.Wrap(err, "while uploading the block") } - fileStats, err := block.GatherFileStats(updir, s.hashFunc, s.logger); if err != nil { + fileStats, err := block.GatherFileStats(updir, s.hashFunc, s.logger) + if err != nil { // The block upload should not stop due to issues gathering data for a metric. return nil }