mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2024-12-25 08:30:40 +00:00
admin/cluster.rs: Added rust_version.
This commit is contained in:
parent
4421378023
commit
9ea154ae9c
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ pub async fn handle_get_cluster_status(garage: &Arc<Garage>) -> Result<Response<
|
|||
node: hex::encode(garage.system.id),
|
||||
garage_version: garage_util::version::garage_version(),
|
||||
garage_features: garage_util::version::garage_features(),
|
||||
rust_version: garage_util::version::rust_version(),
|
||||
db_engine: garage.db.engine(),
|
||||
known_nodes: garage
|
||||
.system
|
||||
|
@ -106,6 +107,7 @@ struct GetClusterStatusResponse {
|
|||
node: String,
|
||||
garage_version: &'static str,
|
||||
garage_features: Option<&'static [&'static str]>,
|
||||
rust_version: &'static str,
|
||||
db_engine: String,
|
||||
known_nodes: HashMap<String, KnownNodeResp>,
|
||||
layout: GetClusterLayoutResponse,
|
||||
|
|
Loading…
Reference in a new issue