diff --git a/uwusched-nodes/src/compute.rs b/uwusched-nodes/src/compute.rs index e43528b..2e120d5 100644 --- a/uwusched-nodes/src/compute.rs +++ b/uwusched-nodes/src/compute.rs @@ -16,7 +16,7 @@ async fn main() -> Result<(), Box> { pretty_env_logger::init(); let server_addr = "http://[::1]:50051"; let addr: SocketAddr = "[::1]:50052".parse()?; - let mut data_client = sched::data_client::DataClient::connect(server_addr.clone()).await?; + let data_client = sched::data_client::DataClient::connect(server_addr).await?; debug!("{:#?}", &data_client); // let mut auth_client = sched::auth_client::AuthClient::connect(server_addr.clone()).await?; alive_check_serve(addr).await?;