Skip to content

Commit fa4c8ff

Browse files
masl2stevebux
andauthored
Update lambdas/authorizer/src/authorizer.ts
Co-authored-by: stevebux <104152898+stevebux@users.noreply.github.com>
1 parent e7cb48c commit fa4c8ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lambdas/authorizer/src/authorizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async function checkCertificateExpiry(
121121

122122
if (expiry <= deps.env.CLIENT_CERTIFICATE_EXPIRATION_ALERT_DAYS) {
123123
await metricScope((metrics: MetricsLogger) => async () => {
124-
deps.logger.warn(`APIM Certificated expiry in ${expiry} days`);
124+
deps.logger.warn({description="APIM Certificate expiry", days: expiry});
125125
metrics.setNamespace(
126126
process.env.AWS_LAMBDA_FUNCTION_NAME || "authorizer",
127127
);

0 commit comments

Comments
 (0)