Add API access key admin endpoints

This commit is contained in:
Alex Auvolat
2022-05-11 10:27:40 +02:00
parent bb6ec9ebd9
commit f97a7845e9
5 changed files with 116 additions and 23 deletions
-2
View File
@@ -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()
))),
*/
}
}
}