From 69618fcdf67668ee9b4b6f3a2d3ed6dd0d31a9f6 Mon Sep 17 00:00:00 2001 From: "rita.canavarro" Date: Wed, 19 Jul 2023 12:53:49 +0100 Subject: [PATCH] [FEAT] Add metric Signed-off-by: rita.canavarro --- pkg/shipper/shipper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/shipper/shipper.go b/pkg/shipper/shipper.go index de7cb699fdf..16494aaeae0 100644 --- a/pkg/shipper/shipper.go +++ b/pkg/shipper/shipper.go @@ -397,7 +397,7 @@ func (s *Shipper) upload(ctx context.Context, meta *metadata.Meta) error { return errors.Wrap(err, "write meta file") } - if err := block.Upload(ctx, s.logger, s.bucket, updir, s.hashFunc){ + if block.Upload(ctx, s.logger, s.bucket, updir, s.hashFunc) != nil{ return errors.Wrap(err, "while upploading the block") }