Watch
0
0
Fork
You've already forked hyperhive
0

swarm-controller: say what entry_of does

This commit is contained in:
iris 2026-11-15 19:34:47 +01:00 • committed by mara
commit 06c338ff40

View file

@ -88,7 +88,7 @@ pub(crate) struct BashTaskEntry {
pub exit: Option<i32>, pub exit: Option<i32>,
} }
/// The entry for `task`, or `None` for a value that is not a status. /// The entry for `task` from its decoded status, with the state as of `now_s`.
fn entry_of(task: &str, status: &Status, now_s: i64) -> BashTaskEntry { fn entry_of(task: &str, status: &Status, now_s: i64) -> BashTaskEntry {
BashTaskEntry { BashTaskEntry {
task: task.to_owned(), task: task.to_owned(),