Commit from GitHub Actions ()

This commit is contained in:
[Clippy] 2024-09-09 15:15:02 +00:00
parent 7fc00dcbb0
commit 0216989438
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
use std::{net::SocketAddr, thread};
use std::net::SocketAddr;
mod grpc;
mod config;
@ -17,7 +17,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let url: SocketAddr = "[::1]:50051".parse()?;
// let mut data_client = sched::data_client::DataClient::connect(url.clone()).await?;
// let mut auth_client = sched::auth_client::AuthClient::connect(url.clone()).await?;
alive_check_serve(url.clone()).await?;
alive_check_serve(url).await?;
Ok(())
}

View file

@ -1,5 +1,5 @@
use crate::sched::{
alive_check_client::{self, AliveCheckClient},
alive_check_client::{AliveCheckClient},
alive_check_server, auth_server, data_server, AliveCheckRequest, AliveCheckResponse,
DataRequest, DataResponse, LoginRequest, LoginResponse,
};

View file

@ -7,7 +7,7 @@ use log::{debug, info};
use tonic::transport::Server;
// Import generated protobuf
mod sched {
use prost_types::FileDescriptorSet;
tonic::include_proto!("sched");