forked from lug/matterbridge
Update dependencies (#1822)
This commit is contained in:
5
vendor/github.com/minio/minio-go/v7/api-bucket-policy.go
generated
vendored
5
vendor/github.com/minio/minio-go/v7/api-bucket-policy.go
generated
vendored
@@ -87,6 +87,11 @@ func (c *Client) removeBucketPolicy(ctx context.Context, bucketName string) erro
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if resp.StatusCode != http.StatusNoContent {
|
||||
return httpRespToErrorResponse(resp, bucketName, "")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user