mirror of
https://github.com/minio/mc.git
synced 2025-11-14 23:42:27 +03:00
Revert Alias behavior, make it passthrough and make Object Storage errors human readable
This commit is contained in:
@@ -84,15 +84,6 @@ func (e errAliasExists) Error() string {
|
||||
return fmt.Sprintf("alias: %s exists", e.name)
|
||||
}
|
||||
|
||||
// errAliasNotFound - alias not found
|
||||
type errAliasNotFound struct {
|
||||
name string
|
||||
}
|
||||
|
||||
func (e errAliasNotFound) Error() string {
|
||||
return "alias: " + e.name + " exists"
|
||||
}
|
||||
|
||||
// errInvalidAuthKeys - invalid authorization keys
|
||||
type errInvalidAuthKeys struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user