mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
Fix golint complaint
This commit is contained in:
parent
b2d54f323b
commit
148935392d
@ -105,9 +105,8 @@ func ToError(err error) error {
|
||||
{
|
||||
if err.EmbeddedError != nil {
|
||||
return err.EmbeddedError
|
||||
} else {
|
||||
return errors.New(err.ErrorMessage)
|
||||
}
|
||||
return errors.New(err.ErrorMessage)
|
||||
}
|
||||
default:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user