Browse Source

rm log info

pull/3114/head
Konstantin Lebedev 3 years ago
parent
commit
af562e1a20
  1. 1
      weed/s3api/s3api_object_handlers.go

1
weed/s3api/s3api_object_handlers.go

@ -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…
Cancel
Save