Skip to content

Commit

Permalink
[FIX] Go format
Browse files Browse the repository at this point in the history
Signed-off-by: rita.canavarro <rita.canavarro@farfetch.com>
  • Loading branch information
rita.canavarro committed Sep 11, 2023
1 parent f776c29 commit ece09f1
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 ece09f1

Please sign in to comment.