Remove bucketpolicy handlers and all its references

This commit is contained in:
Harshavardhana
2015-04-22 14:44:59 -07:00
parent ed67a1269d
commit b121c8588f
14 changed files with 4 additions and 474 deletions

View File

@@ -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