Skip to content

RUST-1122 Fix x509 auth for pkcs8 keys and Atlas free tier #532

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

Merged
merged 6 commits into from
Dec 9, 2021

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Dec 2, 2021

No description provided.

@abr-egn abr-egn requested a review from patrickfreed December 3, 2021 15:44
src/coll/mod.rs Outdated
@@ -1140,6 +1140,7 @@ where
let docs: Vec<&T> = ds.iter().skip(n_attempted).map(Borrow::borrow).collect();
let insert = Insert::new(self.namespace(), docs, options.clone());

#[allow(clippy::needless_option_as_deref)]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This appears to be a clippy false-positive; the suggestion (just session) doesn't work because this is in a loop, which I think is context clippy isn't looking at.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep, see rust-lang/rust-clippy#8047. I actually already pushed a fix for these errors last night, so you can omit these changes from here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, thanks; removed.

@abr-egn abr-egn force-pushed the RUST-1122/x509-auth branch from 49f3f12 to 4dd6fc7 Compare December 3, 2021 19:50
Copy link
Contributor

@patrickfreed patrickfreed left a comment

Choose a reason for hiding this comment

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

LGTM!

@Zageron
Copy link

Zageron commented Dec 9, 2021

Hype

@abr-egn abr-egn merged commit 7872dae into mongodb:master Dec 9, 2021
abr-egn added a commit to abr-egn/mongo-rust-driver that referenced this pull request Dec 13, 2021
abr-egn added a commit to abr-egn/mongo-rust-driver that referenced this pull request Dec 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.

4 participants