aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/api_server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-11 10:27:40 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-11 10:27:40 +0200
commitf97a7845e9e9ab68c3b8afc0d1091765ed11439c (patch)
treea3be49b225bf902e3ed4c8cacb849faa84aa106c /src/api/admin/api_server.rs
parentbb6ec9ebd979c168091c7b00cc8b97da4a1a8dc9 (diff)
downloadgarage-f97a7845e9e9ab68c3b8afc0d1091765ed11439c.tar.gz
garage-f97a7845e9e9ab68c3b8afc0d1091765ed11439c.zip
Add API access key admin endpoints
Diffstat (limited to 'src/api/admin/api_server.rs')
-rw-r--r--src/api/admin/api_server.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/admin/api_server.rs b/src/api/admin/api_server.rs
index d008f10a..3ae9f591 100644
--- a/src/api/admin/api_server.rs
+++ b/src/api/admin/api_server.rs
@@ -129,12 +129,10 @@ impl ApiHandler for AdminApiServer {
Endpoint::UpdateClusterLayout => handle_update_cluster_layout(&self.garage, req).await,
Endpoint::ApplyClusterLayout => handle_apply_cluster_layout(&self.garage, req).await,
Endpoint::RevertClusterLayout => handle_revert_cluster_layout(&self.garage, req).await,
- /*
_ => Err(Error::NotImplemented(format!(
"Admin endpoint {} not implemented yet",
endpoint.name()
))),
- */
}
}
}