Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate self-hosted condition #1016

Merged
merged 1 commit into from
Dec 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions controllers/horizontal_runner_autoscaler_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,9 +655,6 @@ HRA:

// Ensure that the RunnerSet-managed runners have all the labels requested by the workflow_job.
for _, l := range labels {
if l == "self-hosted" {
continue // label is automatically added to self-hosted runners
}
var matched bool

// ignore "self-hosted" label as all instance here are self-hosted
Expand Down Expand Up @@ -689,9 +686,6 @@ HRA:

// Ensure that the RunnerDeployment-managed runners have all the labels requested by the workflow_job.
for _, l := range labels {
if l == "self-hosted" {
continue // label is automatically added to self-hosted runners
}
var matched bool

// ignore "self-hosted" label as all instance here are self-hosted
Expand Down