-
Notifications
You must be signed in to change notification settings - Fork 23
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
Rustls upgrade fix #1403
Rustls upgrade fix #1403
Conversation
Have you run the full test suite against this feature locally? If yes, did all the tests pass? |
This is blocked on #1401 |
@@ -513,6 +514,11 @@ fn dispatch_command_or_start_interactive(cli_config: &ConfigTemplate) { | |||
|
|||
/// TODO: Add Doc Comment Here! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrade the doc-comment, to something better.
Please add a doc-test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the entrypoint to the CLI so i'm not sure we can add a doc-test for this fn
not exactly. however |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -513,6 +514,11 @@ fn dispatch_command_or_start_interactive(cli_config: &ConfigTemplate) { | |||
|
|||
/// TODO: Add Doc Comment Here! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the entrypoint to the CLI so i'm not sure we can add a doc-test for this fn
@@ -11,6 +11,7 @@ use std::sync::Arc; | |||
use log::{error, info}; | |||
|
|||
use clap::{self, Arg}; | |||
use rustls; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line should not be necessary as you are calling rustls::crypto::ring::default_provider().install_default()
with its full path
I'm fine with closing this one. Didn't do it already yesterday only cause @zancas asked me to add a test, documenting and some other stuff on #1426 and I wasnt sure how to collaborate on your PR. What is our flow in those cases? commit directly on it? PR on it? So far i got working on a local branch and was planning on PRing into yours. |
I commented on your PR as I think a doc test is difficult in this case but good practice for functions that can be unit tested. So in most cases the flow would be to PR into my branch. However, in this case I am happy for you to just PR into dev and I'll close mine or push directly to my branch if your have collaborator rights (I'm not sure if you being part of the organisation allows this by default). It's up to you really |
closed for #1426 |
This is the simplest solution that gets rid of the error: #1389
on
cargo run
.I'm not sure if
ring
is the option we want nor ifrun_cli
is the right place to call that install.