diff options
author | Alex <alex@adnab.me> | 2024-03-21 10:26:36 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-03-21 10:26:36 +0000 |
commit | 7e0107c47db71e8da13990c9111ebde8cbf60d8f (patch) | |
tree | 3deae99e0651b66e6d12f8e3336dca9016e23ecc /src/api/admin/cluster.rs | |
parent | ce69dc302c6eaad4fe5268cca3511620fcca12f8 (diff) | |
parent | 3844110cd03210a1600d57db1aab53e41cf4815f (diff) | |
download | garage-7e0107c47db71e8da13990c9111ebde8cbf60d8f.tar.gz garage-7e0107c47db71e8da13990c9111ebde8cbf60d8f.zip |
Merge pull request 'Fixes to garage_net peering manager' (#786) from net-fixes into next-0.10
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/786
Diffstat (limited to 'src/api/admin/cluster.rs')
-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 8ce6c5ed..8c9cb1e5 100644 --- a/src/api/admin/cluster.rs +++ b/src/api/admin/cluster.rs @@ -27,7 +27,7 @@ pub async fn handle_get_cluster_status(garage: &Arc<Garage>) -> Result<Response< i.id, NodeResp { id: hex::encode(i.id), - addr: Some(i.addr), + addr: i.addr, hostname: i.status.hostname, is_up: i.is_up, last_seen_secs_ago: i.last_seen_secs_ago, |