Skip to content

Commit 835ca85

Browse files
committed
fix(scale-down): rename unmarkOrphan function to unMarkOrphan for consistency
1 parent 1ddc98e commit 835ca85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ async function markOrphan(instanceId: string): Promise<void> {
212212
}
213213
}
214214

215-
async function unmarkOrphan(instanceId: string): Promise<void> {
215+
async function unMarkOrphan(instanceId: string): Promise<void> {
216216
try {
217217
await untag(instanceId, [{ Key: 'ghr:orphan', Value: 'true' }]);
218218
logger.info(`Runner '${instanceId}' untagged as orphan.`);
@@ -248,7 +248,7 @@ async function terminateOrphan(environment: string): Promise<void> {
248248
if (isOrphan) {
249249
await terminateRunner(runner.instanceId);
250250
} else {
251-
await unmarkOrphan(runner.instanceId);
251+
await unMarkOrphan(runner.instanceId);
252252
}
253253
} else {
254254
logger.info(`Terminating orphan runner '${runner.instanceId}'`);

0 commit comments

Comments
 (0)