Watch
0
0
Fork
You've already forked hyperhive
0

swarmctl setup status: the comment names the marker file, not the journal

This commit is contained in:
maia 2026-11-25 15:01:02 +01:00
commit 02771eab84

View file

@ -285,8 +285,9 @@ fn granter_status(
unit.name unit.name
)); ));
} }
// A unit that stays off exits 0, so it counts as active: only its journal // A unit that stays off exits 0, so it counts as active: only the marker
// shows that the bootstrap policy in the store lacks a grant the unit needs. // file it keeps shows that the bootstrap policy in the store lacks a grant
// the unit needs.
if let Ok(units) = units if let Ok(units) = units
&& let Some(unit) = units.iter().find(|u| u.waits_for_root) && let Some(unit) = units.iter().find(|u| u.waits_for_root)
{ {