diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-17 18:43:47 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-17 18:43:47 +0200 |
commit | 70383b4363c9d9d1ddebcb29c60f833022e97d24 (patch) | |
tree | 82c676e129f9a7cc2ff1bec7df85de2a3c02905a /src/api/admin/router.rs | |
parent | 440a577563c313f7ce6fe928ff9a18ac1ad0deb3 (diff) | |
download | garage-70383b4363c9d9d1ddebcb29c60f833022e97d24.tar.gz garage-70383b4363c9d9d1ddebcb29c60f833022e97d24.zip |
Implement ConnectClusterNodes
Diffstat (limited to 'src/api/admin/router.rs')
-rw-r--r-- | src/api/admin/router.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/admin/router.rs b/src/api/admin/router.rs index 909ef102..41e7ed73 100644 --- a/src/api/admin/router.rs +++ b/src/api/admin/router.rs @@ -18,6 +18,7 @@ pub enum Endpoint { Options, Metrics, GetClusterStatus, + ConnectClusterNodes, // Layout GetClusterLayout, UpdateClusterLayout, @@ -91,6 +92,7 @@ impl Endpoint { OPTIONS _ => Options, GET "/metrics" => Metrics, GET "/v0/status" => GetClusterStatus, + POST "/v0/connect" => ConnectClusterNodes, // Layout endpoints GET "/v0/layout" => GetClusterLayout, POST "/v0/layout" => UpdateClusterLayout, |