mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
rm log info
This commit is contained in:
parent
62e5e3822c
commit
af562e1a20
|
@ -94,7 +94,6 @@ func (s3a *S3ApiServer) PutObjectHandler(w http.ResponseWriter, r *http.Request)
|
|||
|
||||
if strings.HasSuffix(object, "/") {
|
||||
if err := s3a.mkdir(s3a.option.BucketsPath, bucket+strings.TrimSuffix(object, "/"), func(entry *filer_pb.Entry) {
|
||||
glog.V(0).Infof("make file %s", bucket+object)
|
||||
entry.Attributes.Mime = r.Header.Get("Content-Type")
|
||||
}); err != nil {
|
||||
s3err.WriteErrorResponse(w, r, s3err.ErrInternalError)
|
||||
|
|
Loading…
Reference in a new issue