Skip to content

Conversation

@bananacocodrilo
Copy link
Collaborator

  • Description and context for reviewers: one partner, one stranger
  • Docs (package doc)

RELEASE NOTES:

envType := reqBody.EnvelopeType()
if envType != wire.Call && envType != wire.OneWay {
return nil, nil, errors.RequestBodyEncodeError(
return nil, nil, nil, errors.RequestBodyEncodeError(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return no-op func instead

}); err != nil {
return nil, nil, errors.RequestBodyEncodeError(&treq, err)
cleanup()
return nil, nil, func() {}, errors.RequestBodyEncodeError(&treq, err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return nil, nil, func() {}, errors.RequestBodyEncodeError(&treq, err)
return nil, nil, cleanup, errors.RequestBodyEncodeError(&treq, err)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants