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(NODE-3192): check clusterTime is defined before access #2806

Merged
merged 2 commits into from
May 18, 2021

Conversation

nbbeeken
Copy link
Contributor

The fix is really just making the if statement on line 53 check the correct properties before accessing them, but I also created some variables to help track which cluster time is being used where.

@nbbeeken nbbeeken changed the title fix: check clusterTime is defined before access fix(NODE-3192): check clusterTime is defined before access May 12, 2021
@nbbeeken nbbeeken marked this pull request as ready for review May 13, 2021 17:41
@nbbeeken nbbeeken requested review from a team, durran, emadum and dariakp and removed request for a team May 13, 2021 17:41
lib/core/wireprotocol/command.js Outdated Show resolved Hide resolved
lib/core/wireprotocol/command.js Outdated Show resolved Hide resolved
@nbbeeken nbbeeken requested a review from dariakp May 17, 2021 19:35
Copy link
Contributor

@dariakp dariakp left a comment

Choose a reason for hiding this comment

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

LGTM

@nbbeeken nbbeeken merged commit 6ceace6 into 3.6 May 18, 2021
@nbbeeken nbbeeken deleted the NODE-3192/clusterTime-undefined branch May 18, 2021 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants