diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-07 11:59:56 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-07 11:59:56 +0200 |
commit | db61f41030678c5756c844c8aa41a210c658769e (patch) | |
tree | 492bff626d37cbcdfb2a65ee2580a1cc60c13125 /src/api/admin | |
parent | 6f02c36a89d93b04944a3f0882b6f6b703d9c012 (diff) | |
download | garage-db61f41030678c5756c844c8aa41a210c658769e.tar.gz garage-db61f41030678c5756c844c8aa41a210c658769e.zip |
Move GIT_VERSION injection later in build chain to reduce build times
Diffstat (limited to 'src/api/admin')
-rw-r--r-- | src/api/admin/cluster.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin/cluster.rs b/src/api/admin/cluster.rs index 4b7716a3..8e6dfb3f 100644 --- a/src/api/admin/cluster.rs +++ b/src/api/admin/cluster.rs @@ -18,7 +18,7 @@ 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.system.garage_version(), + garage_version: garage_model::version::garage_version(), db_engine: garage.db.engine(), known_nodes: garage .system |