File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,10 @@ impl IdentifiableFlow for RequestRoute {
5656impl ServerTrait < HttpServerConfig > for HttpServer {
5757 async fn init ( & mut self , ctx : & ServerContext < HttpServerConfig > ) -> anyhow:: Result < ( ) > {
5858 log:: info!( "Initializing http server" ) ;
59- self . http_server = Some ( Server :: new ( ctx. server_config . host . clone ( ) , ctx. server_config . port ) ) ;
59+ self . http_server = Some ( Server :: new (
60+ ctx. server_config . host . clone ( ) ,
61+ ctx. server_config . port ,
62+ ) ) ;
6063 Ok ( ( ) )
6164 }
6265
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ impl Server {
7676 }
7777
7878 async fn run_server ( & self , shutdown_rx : & mut tokio:: sync:: broadcast:: Receiver < ( ) > ) {
79- let url = format ! ( "{}:{}" , self . host, self . port) ;
79+ let url = format ! ( "{}:{}" , self . host, self . port) ;
8080 log:: info!( "Starting http server on {}" , & url) ;
8181 let listener = match TcpListener :: bind ( & url) {
8282 Ok ( listener) => {
You can’t perform that action at this time.
0 commit comments