aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/api_server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-17 18:43:47 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-17 18:43:47 +0200
commit70383b4363c9d9d1ddebcb29c60f833022e97d24 (patch)
tree82c676e129f9a7cc2ff1bec7df85de2a3c02905a /src/api/admin/api_server.rs
parent440a577563c313f7ce6fe928ff9a18ac1ad0deb3 (diff)
downloadgarage-70383b4363c9d9d1ddebcb29c60f833022e97d24.tar.gz
garage-70383b4363c9d9d1ddebcb29c60f833022e97d24.zip
Implement ConnectClusterNodes
Diffstat (limited to 'src/api/admin/api_server.rs')
-rw-r--r--src/api/admin/api_server.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/admin/api_server.rs b/src/api/admin/api_server.rs
index 6f568024..61b0d24f 100644
--- a/src/api/admin/api_server.rs
+++ b/src/api/admin/api_server.rs
@@ -124,6 +124,7 @@ impl ApiHandler for AdminApiServer {
Endpoint::Options => self.handle_options(&req),
Endpoint::Metrics => self.handle_metrics(),
Endpoint::GetClusterStatus => handle_get_cluster_status(&self.garage).await,
+ Endpoint::ConnectClusterNodes => handle_connect_cluster_nodes(&self.garage, req).await,
// Layout
Endpoint::GetClusterLayout => handle_get_cluster_layout(&self.garage).await,
Endpoint::UpdateClusterLayout => handle_update_cluster_layout(&self.garage, req).await,