Add use_tls option for interop tests

This commit is contained in:
Lucio Franco
2019-09-02 18:20:22 -04:00
parent b82439af17
commit 6d09f4de25
5 changed files with 22 additions and 23 deletions
+1 -4
View File
@@ -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)?;