From 025f645d06da392732784d9782d44e4274aacad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Tr=C4=99bski?= Date: Sat, 22 Jan 2022 19:31:41 +0100 Subject: [PATCH] Fix typo in construct name --- packages/cdk-container-registry/src/image-repository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cdk-container-registry/src/image-repository.ts b/packages/cdk-container-registry/src/image-repository.ts index e670134d9..c3050b2fc 100644 --- a/packages/cdk-container-registry/src/image-repository.ts +++ b/packages/cdk-container-registry/src/image-repository.ts @@ -64,7 +64,7 @@ export class ImageRepository extends Repository { const rule = this.onImageScanCompleted(id, { imageTags }); - const severityFilter = new Function(this, 'SevierityFilter', { + const severityFilter = new Function(this, 'SeverityFilter', { runtime: Runtime.NODEJS_12_X, code: Code.fromAsset(path.join(__dirname, 'lambdas', 'severity-filter')), handler: 'index.handler',