mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Return BucketAlreadyExists when bucket exists with another user
This commit is contained in:
committed by
Harshavardhana
parent
0a8cf1a6b0
commit
2d814e340f
@@ -144,6 +144,13 @@ func (e BucketNotFound) Error() string {
|
||||
return "Bucket not found: " + e.Bucket
|
||||
}
|
||||
|
||||
// BucketAlreadyExists the requested bucket name is not available.
|
||||
type BucketAlreadyExists GenericError
|
||||
|
||||
func (e BucketAlreadyExists) Error() string {
|
||||
return "The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again."
|
||||
}
|
||||
|
||||
// BucketAlreadyOwnedByYou already owned by you.
|
||||
type BucketAlreadyOwnedByYou GenericError
|
||||
|
||||
|
||||
Reference in New Issue
Block a user