Move GIT_VERSION injection later in build chain to reduce build times

This commit is contained in:
Alex Auvolat
2022-09-07 11:59:56 +02:00
parent 6f02c36a89
commit db61f41030
13 changed files with 76 additions and 79 deletions
+1 -1
View File
@@ -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