Skip to content

Commit

Permalink
[FEAT] Clean up
Browse files Browse the repository at this point in the history
Signed-off-by: rita.canavarro <[email protected]>
  • Loading branch information
rita.canavarro committed Aug 28, 2023
1 parent d181a7b commit 1f3f56f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions objstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,6 @@ func (b *metricBucket) Upload(ctx context.Context, name string, r io.Reader) err
if !b.isOpFailureExpected(err) && ctx.Err() != context.Canceled {
b.opsFailures.WithLabelValues(op).Inc()
}

trc.Close()
return err
}
b.lastSuccessfulUploadTime.SetToCurrentTime()
Expand Down

0 comments on commit 1f3f56f

Please sign in to comment.