Skip to content

Conversation

@comandeo
Copy link
Contributor

No description provided.

@comandeo comandeo requested a review from p-mongo June 28, 2021 15:42
@comandeo
Copy link
Contributor Author

comandeo commented Jul 1, 2021

Waiting for mongodb/specifications#1026

end
end
if @auth
ok &&= (@auth == cc.auth_enabled?)
Copy link
Contributor

Choose a reason for hiding this comment

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

This should simply be ok &&= cc.auth_enabled?, the extra equality condition may fail if auth_enabled? returns a truthy but not true value.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@comandeo comandeo force-pushed the 2619-sensitive-command-spec branch from 357cc32 to 76b4f92 Compare July 5, 2021 14:47
@comandeo comandeo merged commit 906bc22 into mongodb:master Jul 5, 2021
@comandeo comandeo deleted the 2619-sensitive-command-spec branch July 5, 2021 18:38
alcaeus pushed a commit to alcaeus/mongo-ruby-driver that referenced this pull request Jul 14, 2021
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