swarm-controller: say what entry_of does
This commit is contained in:
parent
5de20f31dd
commit
06c338ff40
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue