Merge pull request #461 from harshavardhana/pr_out_fix_golint_complaint

This commit is contained in:
Harshavardhana 2015-04-08 23:43:43 -07:00
commit 74506bb48b

View File

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