Browse Source

fix compilation error

pull/729/head
Chris Lu 6 years ago
parent
commit
d614716ff2
  1. 2
      weed/s3api/s3api_bucket_handlers.go

2
weed/s3api/s3api_bucket_handlers.go

@ -59,7 +59,7 @@ func (s3a *S3ApiServer) PutBucketHandler(w http.ResponseWriter, r *http.Request)
bucket := vars["bucket"] bucket := vars["bucket"]
// create the folder for bucket, but lazily create actual collection // create the folder for bucket, but lazily create actual collection
if err := s3a.mkdir(s3a.option.BucketsPath, bucket); err != nil {
if err := s3a.mkdir(s3a.option.BucketsPath, bucket, nil); err != nil {
writeErrorResponse(w, ErrInternalError, r.URL) writeErrorResponse(w, ErrInternalError, r.URL)
return return
} }

Loading…
Cancel
Save