Fix cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Alex 2022-04-21 17:06:11 +02:00
parent cec08a23af
commit f35b7c6ba1
Signed by: lx
GPG key ID: 0E496D15096376BE
2 changed files with 6 additions and 2 deletions

View file

@ -102,7 +102,11 @@ impl<A: ApiHandler> ApiServer<A> {
let server = Server::bind(&bind_addr).serve(service); let server = Server::bind(&bind_addr).serve(service);
let graceful = server.with_graceful_shutdown(shutdown_signal); let graceful = server.with_graceful_shutdown(shutdown_signal);
info!("{} API server listening on http://{}", A::API_NAME_DISPLAY, bind_addr); info!(
"{} API server listening on http://{}",
A::API_NAME_DISPLAY,
bind_addr
);
graceful.await?; graceful.await?;
Ok(()) Ok(())

View file

@ -8,8 +8,8 @@ use garage_util::error::Error;
use garage_admin::metrics::*; use garage_admin::metrics::*;
use garage_admin::tracing_setup::*; use garage_admin::tracing_setup::*;
use garage_api::s3::api_server::S3ApiServer;
use garage_api::k2v::api_server::K2VApiServer; use garage_api::k2v::api_server::K2VApiServer;
use garage_api::s3::api_server::S3ApiServer;
use garage_model::garage::Garage; use garage_model::garage::Garage;
use garage_web::run_web_server; use garage_web::run_web_server;