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

kvclient: remove unused error from TransportFactory #121571

Conversation

andrewbaptist
Copy link
Collaborator

Previously the transport factory could return an error when attempting to retrieve a transport. The error was never used in non-test code, and the only use in test code could be better handled by an assertion directly where the factory created the transport. This change reduces some unnecessary error handling.

Epic: none

Release note: None

Previously the transport factory could return an error when attempting
to retrieve a transport. The error was never used in non-test code,
and the only use in test code could be better handled by an assertion
directly where the factory created the transport. This change reduces
some unnecessary error handling.

Epic: none

Release note: None
@andrewbaptist andrewbaptist marked this pull request as ready for review April 2, 2024 22:44
@andrewbaptist andrewbaptist requested a review from a team April 2, 2024 22:44
@andrewbaptist andrewbaptist requested a review from a team as a code owner April 2, 2024 22:44
@andrewbaptist andrewbaptist requested a review from arulajmani April 2, 2024 22:44
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

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

Reviewed 15 of 15 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @andrewbaptist)

@andrewbaptist
Copy link
Collaborator Author

TFTR!

bors r=arulajmani

@craig craig bot merged commit 58329da into cockroachdb:master Apr 3, 2024
22 checks passed
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.

3 participants