misc: use return Ok(())

Co-authored-by: Corentin REGAL <corentin.regal@gmail.com>
This commit is contained in:
Funtowicz Morgan 2024-12-12 16:04:05 +01:00 committed by GitHub
parent e0dda9b614
commit 182ffaf064
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,7 @@ async fn main() -> Result<(), RouterError> {
use utoipa::OpenApi; use utoipa::OpenApi;
let api_doc = ApiDoc::openapi().to_pretty_json().unwrap(); let api_doc = ApiDoc::openapi().to_pretty_json().unwrap();
println!("{}", api_doc); println!("{}", api_doc);
std::process::exit(0); return Ok(());
}; };
text_generation_router::logging::init_logging(otlp_endpoint, otlp_service_name, json_output); text_generation_router::logging::init_logging(otlp_endpoint, otlp_service_name, json_output);