Watch
0
0
Fork
You've already forked hyperhive
0

dashboard: drop the unused coord parameter of build_tombstone_views

The parameter was discarded with a comment claiming kept_state_names
takes &self; it is an associated fn with no receiver. Removes the
parameter, the false comment and the argument at both callers.
This commit is contained in:
atlas 2026-10-16 09:42:35 +02:00 • committed by mara
commit c5dbab3277
2 changed files with 3 additions and 7 deletions

View file

@ -185,7 +185,7 @@ pub(super) async fn api_state(
let any_stale = containers.iter().any(|c| c.needs_update);
let transient_snapshot = state.coord.transient_snapshot();
let transients = build_transient_views(&containers, &transient_snapshot);
let tombstones = build_tombstone_views(&state.coord, &containers);
let tombstones = build_tombstone_views(&containers);
let port_conflicts = build_port_conflicts(&containers);
// Banner warnings: host probes (disk) + agent-state (pending logins).