diff options
author | Alex Auvolat <alex@adnab.me> | 2023-06-14 13:53:19 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-06-14 13:53:19 +0200 |
commit | 35c108b85d2b70ad28cd93bfd412607a89b9acf9 (patch) | |
tree | bf64fed2c762a1981c92492e470113574d46d2a8 /src/api/admin/router.rs | |
parent | 52376d47caf747f5cf93a21e5c15e4e6b8d991ee (diff) | |
download | garage-35c108b85d2b70ad28cd93bfd412607a89b9acf9.tar.gz garage-35c108b85d2b70ad28cd93bfd412607a89b9acf9.zip |
admin api: switch GetClusterHealth to camelcase (fix #381 again)
Diffstat (limited to 'src/api/admin/router.rs')
-rw-r--r-- | src/api/admin/router.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin/router.rs b/src/api/admin/router.rs index 5af3ffb5..b98db284 100644 --- a/src/api/admin/router.rs +++ b/src/api/admin/router.rs @@ -96,7 +96,7 @@ impl Endpoint { GET "/health" => Health, GET "/metrics" => Metrics, GET "/v1/status" => GetClusterStatus, - GET "/v0/health" => GetClusterHealth, + GET "/v1/health" => GetClusterHealth, POST "/v0/connect" => ConnectClusterNodes, // Layout endpoints GET "/v1/layout" => GetClusterLayout, |