mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-20 01:52:15 +00:00
admin api: update semantics of some endpoints, and update doc
This commit is contained in:
@@ -22,7 +22,7 @@ macro_rules! admin_endpoints {
|
||||
}
|
||||
|
||||
impl AdminApiRequest {
|
||||
fn name(&self) -> &'static str {
|
||||
pub fn name(&self) -> &'static str {
|
||||
match self {
|
||||
$(
|
||||
Self::$special_endpoint(_) => stringify!($special_endpoint),
|
||||
|
||||
Reference in New Issue
Block a user