mirror of
https://github.com/minio/minio.git
synced 2026-11-13 22:45:16 +00:00
Reply in xml from validate and ignore handlers
This commit is contained in:
1 parent
8a562ebbef
commit
966cdd4f05
3 files changed
+21
-9
No files matched your search
@@ -21,7 +21,6 @@ import (
|
||||
"crypto/sha256"
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -52,7 +51,6 @@ func (storage *storage) CopyObjectToWriter(w io.Writer, bucket string, object st
|
||||
if val, ok := storage.objectdata[key]; ok {
|
||||
objectBuffer := bytes.NewBuffer(val.data)
|
||||
written, err := io.Copy(w, objectBuffer)
|
||||
log.Println("I am here")
|
||||
return written, err
|
||||
} else {
|
||||
return 0, mstorage.ObjectNotFound{Bucket: bucket, Object: object}
|
||||
|
||||
Reference in new issue
Block a user