Fix bug related to label matching. (#852)
Lint and Test Charts / lint-test (push) Has been cancelled

* Fix bug related to label matching.

Add start of test framework for Workflow Job Events

Signed-off-by: Aidan Jensen <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>
This commit is contained in:
Aidan
2021-09-30 11:02:59 +09:00
committed by GitHub
co-authored by Yusuke Kuoka
parent ea06001819
commit fccf29970b
3 changed files with 297 additions and 4 deletions
@@ -542,7 +542,7 @@ HRA:
// Ensure that the RunnerDeployment-managed runners have all the labels requested by the workflow_job.
for _, l := range labels {
var matched bool
for _, l2 := range rd.Spec.Template.Spec.Labels {
for _, l2 := range rd.Spec.Template.Spec.Labels {
if l == l2 {
matched = true
break