From 116b52374f6c42fe9a71421956f00a4e2b35dd47 Mon Sep 17 00:00:00 2001 From: Zain Rizvi Date: Thu, 24 Oct 2024 11:58:20 -0500 Subject: [PATCH] Fix merge conflict --- .../runners/lambdas/runners/src/scale-runners/scale-down.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform-aws-github-runner/modules/runners/lambdas/runners/src/scale-runners/scale-down.ts b/terraform-aws-github-runner/modules/runners/lambdas/runners/src/scale-runners/scale-down.ts index 2f49ad66fc..07568f805f 100644 --- a/terraform-aws-github-runner/modules/runners/lambdas/runners/src/scale-runners/scale-down.ts +++ b/terraform-aws-github-runner/modules/runners/lambdas/runners/src/scale-runners/scale-down.ts @@ -393,7 +393,7 @@ export async function minRunners(ec2runner: RunnerInfo, metrics: ScaleDownMetric } const repo: Repo = (() => { - if (Config.Instance.enableOrganizationRunners) { + if (Config.Instance.scaleConfigRepo) { return { owner: ec2runner.org !== undefined ? (ec2runner.org as string) : getRepo(ec2runner.repo as string).owner, repo: Config.Instance.scaleConfigRepo,