Skip to content

Commit

Permalink
Revert #1423
Browse files Browse the repository at this point in the history
#1423 causes unit tests to fail so I propose to revert it.
  • Loading branch information
usernamedt committed Mar 9, 2023
1 parent d52bde1 commit 59eefe8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ func (uploader *Uploader) Compression() compression.Compressor {

// TODO : unit tests
func (uploader *Uploader) Upload(path string, content io.Reader) error {
defer PushMetrics()

WalgMetrics.uploadedFilesTotal.Inc()
if uploader.tarSize != nil {
content = utility.NewWithSizeReader(content, uploader.tarSize)
Expand Down

0 comments on commit 59eefe8

Please sign in to comment.