Skip to content

Commit

Permalink
[FIX] Go format
Browse files Browse the repository at this point in the history
  • Loading branch information
rita.canavarro committed Jul 21, 2023
1 parent 2c81c59 commit feaeff2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/shipper/shipper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit feaeff2

Please sign in to comment.