Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(requestmanager): rename processResponses internals for consistency #328

Merged
merged 3 commits into from
Jan 7, 2022

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Jan 7, 2022

This is just a consistency thing that I noticed while working on internal docs for the requestmanager code. In all other cases, the name of the public API in client.go matches a private version in server.go, just lower cased, and the message between them just has Message appended to the end. In this case, ProcessResponses maps to processResponseMessage which is also the name of the message that invokes it. So I've made the private processResponses and the message processResponsesMessage. The tracing span name, and some logging text also changes too to be consistent.

Copy link
Collaborator

@hannahhoward hannahhoward left a comment

Choose a reason for hiding this comment

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

LGTM. oy that network disconnect fail is the bane of my existence. I need to find time to fix that. Anyway, will just run tests again and merge.

@hannahhoward hannahhoward merged commit 4f4414d into main Jan 7, 2022
@rvagg rvagg deleted the rvagg/processResponsesRename branch January 10, 2022 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants