mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
remove all unnecessary logging, logOnce when absolutely needed (#17965)
This commit is contained in:
@@ -19,7 +19,6 @@ package cmd
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/binary"
|
||||
"encoding/hex"
|
||||
"errors"
|
||||
@@ -1422,7 +1421,6 @@ func (x *xlMetaV2) DeleteVersion(fi FileInfo) (string, error) {
|
||||
err = x.addVersion(freeVersion)
|
||||
}
|
||||
}
|
||||
logger.LogIf(context.Background(), err)
|
||||
|
||||
if fi.Deleted {
|
||||
err = x.addVersion(ventry)
|
||||
|
||||
Reference in New Issue
Block a user