mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
Merge pull request #461 from harshavardhana/pr_out_fix_golint_complaint
This commit is contained in:
commit
74506bb48b
@ -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