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

Remove redundant switchIfEmptyStage #1455

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Remove redundant switchIfEmptyStage #1455

merged 1 commit into from
Jul 22, 2024

Conversation

rozza
Copy link
Member

@rozza rozza commented Jul 19, 2024

As clientSessionHelper.withClientSession will always produce a session, there is no need for the switchIfEmpty branch.

@rozza rozza mentioned this pull request Jul 19, 2024
@rozza rozza requested a review from vbabanin July 19, 2024 09:09
Copy link
Member

@vbabanin vbabanin left a comment

Choose a reason for hiding this comment

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

LGTM!

@rozza rozza merged commit 95bda8f into mongodb:CSOT Jul 22, 2024
59 checks passed
@rozza rozza deleted the CSOT-TODO branch July 22, 2024 08:31
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