Add use_tls option for interop tests
This commit is contained in:
@@ -7,10 +7,7 @@ pub mod hello_world {
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let origin = vec![
|
||||
http::Uri::from_static("http://[::1]:50051").into(),
|
||||
|
||||
];
|
||||
let origin = vec![http::Uri::from_static("http://[::1]:50051").into()];
|
||||
|
||||
let svc = Channel::builder().balance_list(origin)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user