Skip to content

Commit 7c21fc8

Browse files
ScottGuymernpalm
authored andcommitted
fix formatting
1 parent 4c3132c commit 7c21fc8

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,13 @@ async function createJitConfig(githubRunnerConfig: CreateGitHubRunnerConfig, ins
455455
instance: instance,
456456
});
457457
await putParameter(
458-
`${githubRunnerConfig.ssmTokenPath}/${instance}`,
459-
runnerConfig.data.encoded_jit_config, true,
460-
{
461-
tags: [{ Key: 'InstanceId', Value: instance }],
462-
},
463-
"Advanced"
458+
`${githubRunnerConfig.ssmTokenPath}/${instance}`,
459+
runnerConfig.data.encoded_jit_config,
460+
true,
461+
{
462+
tags: [{ Key: 'InstanceId', Value: instance }],
463+
},
464+
'Advanced',
464465
);
465466
if (isDelay) {
466467
// Delay to prevent AWS ssm rate limits by being within the max throughput limit

lambdas/libs/aws-ssm-util/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function putParameter(
2222
parameter_value: string,
2323
secure: boolean,
2424
options: { tags?: Tag[] } = {},
25-
tier: "Advanced" | "Standard" = "Standard",
25+
tier: 'Advanced' | 'Standard' = 'Standard',
2626
): Promise<void> {
2727
const client = getTracedAWSV3Client(new SSMClient({ region: process.env.AWS_REGION }));
2828
await client.send(
@@ -31,7 +31,7 @@ export async function putParameter(
3131
Value: parameter_value,
3232
Type: secure ? 'SecureString' : 'String',
3333
Tags: options.tags,
34-
Tier: tier
34+
Tier: tier,
3535
}),
3636
);
3737
}

0 commit comments

Comments
 (0)