mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
bucket-policy parset tests, and bug fixes (#1317)
This commit is contained in:
committed by
Harshavardhana
parent
6b3fc03701
commit
188bb92d8a
@@ -177,7 +177,7 @@ func (api objectStorageAPI) PutBucketPolicyHandler(w http.ResponseWriter, r *htt
|
||||
}
|
||||
|
||||
// Parse check bucket policy.
|
||||
if s3Error := checkBucketPolicy(bucket, bucketPolicy); s3Error != ErrNone {
|
||||
if s3Error := checkBucketPolicyResources(bucket, bucketPolicy); s3Error != ErrNone {
|
||||
writeErrorResponse(w, r, s3Error, r.URL.Path)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user