From e78232caeeeab8829c04a9785ee05ddfe07939c1 Mon Sep 17 00:00:00 2001 From: Navdeep Gupta Date: Tue, 25 Jul 2023 18:18:05 +0530 Subject: [PATCH] fix: scale up lambda build issue. (#3388) --- lambdas/functions/control-plane/src/scale-runners/scale-up.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambdas/functions/control-plane/src/scale-runners/scale-up.ts b/lambdas/functions/control-plane/src/scale-runners/scale-up.ts index f9159e18d0..fae9bf5ef9 100644 --- a/lambdas/functions/control-plane/src/scale-runners/scale-up.ts +++ b/lambdas/functions/control-plane/src/scale-runners/scale-up.ts @@ -212,7 +212,7 @@ export async function scaleUp(eventSource: string, payload: ActionRequestMessage if (eventSource !== 'aws:sqs') throw Error('Cannot handle non-SQS events!'); const enableOrgLevel = yn(process.env.ENABLE_ORGANIZATION_RUNNERS, { default: true }); const maximumRunners = parseInt(process.env.RUNNERS_MAXIMUM_COUNT || '3'); - const runnerLabels = process.env.RUNNER_LABELS; + const runnerLabels = process.env.RUNNER_LABELS || ''; const runnerGroup = process.env.RUNNER_GROUP_NAME || 'Default'; const environment = process.env.ENVIRONMENT; const ghesBaseUrl = process.env.GHES_URL;