Skip to content

Commit 9f59abe

Browse files
committed
Format return object in getGitHubSelfHostedRunnerState for improved readability
1 parent 5a275e5 commit 9f59abe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,13 @@ async function getGitHubSelfHostedRunnerState(
7474
repo: ec2runner.owner.split('/')[1],
7575
});
7676

77-
return { id: state.data.id, name: state.data.name, busy: state.data.busy, status: state.data.status, headers: state.headers };
77+
return {
78+
id: state.data.id,
79+
name: state.data.name,
80+
busy: state.data.busy,
81+
status: state.data.status,
82+
headers: state.headers,
83+
};
7884
}
7985

8086
async function getGitHubRunnerBusyState(client: Octokit, ec2runner: RunnerInfo, runnerId: number): Promise<boolean> {

0 commit comments

Comments
 (0)