Skip to content

Commit bb8ba2b

Browse files
stuartp44npalm
andauthored
Update lambdas/functions/control-plane/src/scale-runners/scale-down.ts
Co-authored-by: Niek Palm <[email protected]>
1 parent a5fcc88 commit bb8ba2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/functions/control-plane/src/scale-runners/scale-down.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ async function terminateOrphan(environment: string): Promise<void> {
217217
const runnerId = parseInt(runner.runnerId);
218218
const ec2Instance = runner as RunnerInfo;
219219
const state = await getGitHubSelfHostedRunnerState(client, ec2Instance, runnerId);
220-
logger.info(`Runner is currently '${runner.instanceId}' state: ${JSON.stringify(state)}`);
220+
logger.debug(`Runner is currently '${runner.instanceId}' state: ${JSON.stringify(state)}`);
221221
if (state.status === 'online' && state.busy) {
222222
logger.info(`Runner '${runner.instanceId}' is orphan, but is online and busy.`);
223223
await untag(runner.instanceId, [{ Key: 'ghr:orphan', Value: 'true' }]);

0 commit comments

Comments
 (0)