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

fix: add a stub implementation of channelz in the channel pool to fix compilation #137

Merged
merged 4 commits into from
Apr 5, 2022

Conversation

igorbernstein2
Copy link
Contributor

@igorbernstein2 igorbernstein2 commented Apr 5, 2022

It seems like grpc-js added a new method to the Channel interface for channelz. This breaks compilation against newer versions of grpc-js. Unfortunately there is no sensible implementation for a channelz for a channelpool. This PR simply fixes compilation by throwing an unimplemented error

Also remove stale tests that tested pre-grpc-js behavior

src/gcp_channel_factory.ts Outdated Show resolved Hide resolved
test/unit/channel_factory_test.js Show resolved Hide resolved
Copy link
Collaborator

@nimf nimf left a comment

Choose a reason for hiding this comment

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

LGTM

@nimf
Copy link
Collaborator

nimf commented Apr 5, 2022

/gcbrun

@nimf
Copy link
Collaborator

nimf commented Apr 5, 2022

/gcbrun

@nimf nimf merged commit a05c3dd into GoogleCloudPlatform:master Apr 5, 2022
@igorbernstein2 igorbernstein2 deleted the fix-compilation branch April 5, 2022 19:33
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