mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
cleanup: remove unused waitCloser.
This commit is contained in:
+1
-1
@@ -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