1
0
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:
Harshavardhana
2015-04-17 21:31:15 -07:00
parent 1f9136ffc5
commit c706e152c6
6 changed files with 22 additions and 30 deletions

View File

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