aboutsummaryrefslogtreecommitdiff
path: root/src/garage
diff options
context:
space:
mode:
authorTrinity Pointard <trinity.pointard@gmail.com>2021-03-26 22:05:16 +0100
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:37:10 +0200
commita2e1617d845e72c44b07f782801549f209ce14cc (patch)
tree0aaa74ba86c724fe949c7c5005654619d6f37f81 /src/garage
parent67585a4ffab14ba7c4b7c6dca530c177059a91d9 (diff)
downloadgarage-a2e1617d845e72c44b07f782801549f209ce14cc.tar.gz
garage-a2e1617d845e72c44b07f782801549f209ce14cc.zip
document web crate
Diffstat (limited to 'src/garage')
-rw-r--r--src/garage/server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/server.rs b/src/garage/server.rs
index feb858e4..a5bf68a6 100644
--- a/src/garage/server.rs
+++ b/src/garage/server.rs
@@ -11,7 +11,7 @@ use garage_util::error::Error;
use garage_api::api_server;
use garage_model::garage::Garage;
use garage_rpc::rpc_server::RpcServer;
-use garage_web::web_server;
+use garage_web::run_web_server;
use crate::admin_rpc::*;
@@ -63,7 +63,7 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> {
info!("Initializing RPC and API servers...");
let run_rpc_server = Arc::new(rpc_server).run(wait_from(watch_cancel.clone()));
let api_server = api_server::run_api_server(garage.clone(), wait_from(watch_cancel.clone()));
- let web_server = web_server::run_web_server(garage, wait_from(watch_cancel.clone()));
+ let web_server = run_web_server(garage, wait_from(watch_cancel.clone()));
futures::try_join!(
bootstrap.map(|rv| {