Skip to content

Commit

Permalink
recursively resolve by name
Browse files Browse the repository at this point in the history
  • Loading branch information
rescrv committed Dec 2, 2024
1 parent 03b4be4 commit 6a1cffa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rust/load/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ impl Workload {
return Err(Error::InvalidRequest(format!("workload not found: {name}")));
}
}
if let Workload::Hybrid(hybrid) = self {
for (_, workload) in hybrid {
workload.resolve_by_name(workloads)?;
}
}
Ok(())
}

Expand Down

0 comments on commit 6a1cffa

Please sign in to comment.