mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -94,7 +94,7 @@ func (e *Erasure) EncodeData(ctx context.Context, data []byte) ([][]byte, error)
|
||||
// It only decodes the data blocks but does not verify them.
|
||||
// It returns an error if the decoding failed.
|
||||
func (e *Erasure) DecodeDataBlocks(data [][]byte) error {
|
||||
var isZero = 0
|
||||
isZero := 0
|
||||
for _, b := range data {
|
||||
if len(b) == 0 {
|
||||
isZero++
|
||||
|
||||
Reference in New Issue
Block a user