Skip to content

Commit fcea1c7

Browse files
committed
Actioned feedback
1 parent 611cdfe commit fcea1c7

File tree

1 file changed

+1
-6
lines changed
  • lambdas/functions/control-plane/src/scale-runners

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,7 @@ export async function isJobQueued(githubInstallationClient: Octokit, payload: Ac
148148
});
149149
metricGitHubAppRateLimit(jobForWorkflowRun.headers);
150150
isQueued = jobForWorkflowRun.data.status === 'queued';
151-
if (!isQueued) {
152-
logger.info(`Job ${payload.id} is not queued`);
153-
}
154-
else {
155-
logger.info(`Job ${payload.id} is queued`);
156-
}
151+
logger.debug(`The job ${payload.id} is${isQueued ? " " : "not"} queued`);
157152
} else {
158153
throw Error(`Event ${payload.eventType} is not supported`);
159154
}

0 commit comments

Comments
 (0)