mirror of
https://github.com/minio/minio.git
synced 2026-02-12 22:00:16 -05:00
Added specific error for InvalidObjectName (#2157)
This commit is contained in:
committed by
Harshavardhana
parent
ae80f8ca35
commit
bc8720406d
@@ -364,7 +364,7 @@ type EOFWriter struct {
|
||||
n int64
|
||||
}
|
||||
|
||||
// io.Writer implementation desgined to error out with io.EOF after reading `n` bytes.
|
||||
// io.Writer implementation designed to error out with io.EOF after reading `n` bytes.
|
||||
func (t *EOFWriter) Write(p []byte) (n int, err error) {
|
||||
if t.n <= 0 {
|
||||
return -1, io.EOF
|
||||
|
||||
Reference in New Issue
Block a user