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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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