aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-07 18:36:46 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-07 18:36:46 +0200
commitceb1f0229a9c8b9f8255b4a4c70272627f0c34d7 (patch)
treecf55d93dc4d95bc3eacb756f853ffe63e2dafc44 /src/api
parentf310fce34b0273f9f75e7a6ea665f51003a1f795 (diff)
downloadgarage-improve-deps.tar.gz
garage-improve-deps.zip
Move version back into utilimprove-deps
Diffstat (limited to 'src/api')
-rw-r--r--src/api/admin/cluster.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/admin/cluster.rs b/src/api/admin/cluster.rs
index 010382f2..99c6e332 100644
--- a/src/api/admin/cluster.rs
+++ b/src/api/admin/cluster.rs
@@ -18,8 +18,8 @@ use crate::helpers::{json_ok_response, parse_json_body};
pub async fn handle_get_cluster_status(garage: &Arc<Garage>) -> Result<Response<Body>, Error> {
let res = GetClusterStatusResponse {
node: hex::encode(garage.system.id),
- garage_version: garage_model::version::garage_version(),
- garage_features: garage_model::version::garage_features(),
+ garage_version: garage_util::version::garage_version(),
+ garage_features: garage_util::version::garage_features(),
db_engine: garage.db.engine(),
known_nodes: garage
.system