fix: scaling issue based on workflow_job event (#850)

This PR fix scaling issue based on `workflow_job` event discussed in #819
This commit is contained in:
Alex Kulikovskikh
2021-09-29 21:36:59 -04:00
committed by GitHub
parent 1bc1712519
commit ea06001819

View File

@@ -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.Labels {
for _, l2 := range rd.Spec.Template.Spec.Labels {
if l == l2 {
matched = true
break