mirror of https://github.com/minio/minio.git
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