mirror of
https://github.com/minio/minio.git
synced 2025-11-29 13:28:17 -05:00
cleanup: remove unused waitCloser.
This commit is contained in:
@@ -53,7 +53,7 @@ func hashSum(disk StorageAPI, volume, path string, writer hash.Hash) ([]byte, er
|
||||
if err == io.EOF {
|
||||
break
|
||||
}
|
||||
if err != nil && err != io.EOF {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
writer.Write(buf[:n])
|
||||
|
||||
Reference in New Issue
Block a user