remove as_str() legacy wrappers, callers use .into() directly
This commit is contained in:
parent
299add158f
commit
46456f75ce
25 changed files with 46 additions and 128 deletions
|
|
@ -313,7 +313,7 @@ impl JobQueue {
|
|||
}
|
||||
Some(RunningTransient {
|
||||
agent: agent.to_owned(),
|
||||
label: n.payload.as_str().to_owned(),
|
||||
label: <&str>::from(&n.payload).to_owned(),
|
||||
takes_container_down: n.payload.takes_container_down(),
|
||||
// `started_at` is set when a node enters `Running`, and this
|
||||
// only sees `Running` nodes — the fallback is unreachable in
|
||||
|
|
|
|||
Loading…
Reference in a new issue