swarmctl setup status: the comment names the marker file, not the journal
This commit is contained in:
parent
8464acf883
commit
02771eab84
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue