mirror of
https://github.com/minio/minio.git
synced 2025-11-29 21:33:31 -05:00
Remove bucketpolicy handlers and all its references
This commit is contained in:
@@ -56,9 +56,6 @@ type DigestError struct {
|
||||
|
||||
/// Bucket related errors
|
||||
|
||||
// BucketPolicyNotFound - missing bucket policy
|
||||
type BucketPolicyNotFound GenericBucketError
|
||||
|
||||
// BucketNameInvalid - bucketname provided is invalid
|
||||
type BucketNameInvalid GenericBucketError
|
||||
|
||||
@@ -107,11 +104,6 @@ func EmbedError(bucket, object string, err error) ImplementationError {
|
||||
}
|
||||
}
|
||||
|
||||
// Return string an error formatted as the given text
|
||||
func (e BucketPolicyNotFound) Error() string {
|
||||
return "Bucket policy not found for: " + e.Bucket
|
||||
}
|
||||
|
||||
// Return string an error formatted as the given text
|
||||
func (e ObjectNotFound) Error() string {
|
||||
return "Object not Found: " + e.Bucket + "#" + e.Object
|
||||
|
||||
Reference in New Issue
Block a user