Skip to content

Commit

Permalink
[FEAT] Add metric
Browse files Browse the repository at this point in the history
Signed-off-by: rita.canavarro <[email protected]>
  • Loading branch information
rita.canavarro committed Jul 19, 2023
1 parent 0f12213 commit 69618fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/shipper/shipper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit 69618fc

Please sign in to comment.