Merge pull request #461 from harshavardhana/pr_out_fix_golint_complaint

master
Harshavardhana 10 years ago
commit 74506bb48b
  1. 3
      pkg/iodine/iodine.go

@ -105,9 +105,8 @@ func ToError(err error) error {
{ {
if err.EmbeddedError != nil { if err.EmbeddedError != nil {
return err.EmbeddedError return err.EmbeddedError
} else {
return errors.New(err.ErrorMessage)
} }
return errors.New(err.ErrorMessage)
} }
default: default:
{ {

Loading…
Cancel
Save