mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 13:52:07 +00:00
misc: use return Ok(())
Co-authored-by: Corentin REGAL <corentin.regal@gmail.com>
This commit is contained in:
parent
e0dda9b614
commit
182ffaf064
@ -118,7 +118,7 @@ async fn main() -> Result<(), RouterError> {
|
||||
use utoipa::OpenApi;
|
||||
let api_doc = ApiDoc::openapi().to_pretty_json().unwrap();
|
||||
println!("{}", api_doc);
|
||||
std::process::exit(0);
|
||||
return Ok(());
|
||||
};
|
||||
text_generation_router::logging::init_logging(otlp_endpoint, otlp_service_name, json_output);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user