diff options
author | Alex Auvolat <alex@adnab.me> | 2024-03-21 10:45:34 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-21 10:45:34 +0100 |
commit | 961b4f9af36a7fb5d3a661ac19e8f2c168bb48ae (patch) | |
tree | 1022e5606f9fd538df5704fbd3a43df5ffdc013f /src/api/admin | |
parent | 5225a81dee21603950e7944cd93c40fdb1bd8feb (diff) | |
download | garage-961b4f9af36a7fb5d3a661ac19e8f2c168bb48ae.tar.gz garage-961b4f9af36a7fb5d3a661ac19e8f2c168bb48ae.zip |
[net-fixes] fix issues with local peer address (fix #761)
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 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, |