K2V #293

Merged
lx merged 68 commits from k2v into main 2022-05-10 11:16:58 +00:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit f35b7c6ba1 - Show all commits

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;