fix(#1179): normalize bash-task-* wake_from at write time
This commit is contained in:
parent
3ccfc647f7
commit
8af06aefdb
2 changed files with 6 additions and 6 deletions
|
|
@ -69,6 +69,11 @@ pub fn build_row(
|
|||
TurnOutcome::AuthFailed => ("auth_failed", None),
|
||||
TurnOutcome::Failed(e) => ("failed", Some(format!("{e:#}"))),
|
||||
};
|
||||
let wake_from = if wake_from.starts_with("bash-task-") {
|
||||
"bash-task".to_owned()
|
||||
} else {
|
||||
wake_from
|
||||
};
|
||||
TurnStatRow {
|
||||
started_at,
|
||||
ended_at,
|
||||
|
|
|
|||
Loading…
Reference in a new issue