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 17, 2023
1 parent 71938f3 commit ec86b00
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 ec86b00

Please sign in to comment.