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

xds: Rename parseCluster() back to processCluster() for consistency #8802

Merged
merged 1 commit into from Jan 6, 2022

Conversation

sergiitk
Copy link
Member

@sergiitk sergiitk commented Jan 6, 2022

This is to keep names of the top-level process* functions called from
handle*Response functions, and returning *Update resources consistent:

  • handleLdsResponse() -> LdsUpdate processClientSideListener()
    LdsUpdate processServerSideListener()
  • handleCdsResponse() -> CdsUpdate processCluster()
  • handleRdsResponse() -> RdsUpdate processRouteConfiguration()
  • handleEdsResponse() -> EdsUpdate processClusterLoadAssignment()

For some reason, processCluster() was renamed to parseCluster() in
fa4b980 / PR #8237.

This is to keep names of the top-level process* functions called from
handle*Response functions, and returning *Update resources consistent:

- `handleLdsResponse()` -> `LdsUpdate processClientSideListener()`
                           `LdsUpdate processServerSideListener()`
- `handleCdsResponse()` -> `CdsUpdate processCluster()`
- `handleRdsResponse()` -> `RdsUpdate processRouteConfiguration()`
- `handleEdsResponse()` -> `EdsUpdate processClusterLoadAssignment()`

For some reason, processCluster() was renamed to parseCluster() in
fa4b980.
@sergiitk sergiitk added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Jan 6, 2022
@grpc-kokoro grpc-kokoro removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Jan 6, 2022
@sergiitk sergiitk merged commit 6f22392 into grpc:master Jan 6, 2022
@sergiitk sergiitk deleted the xds-process-cluster-rename branch January 6, 2022 19:57
erikjoh added a commit to erikjoh/grpc-java that referenced this pull request Jan 8, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants