Skip to content

Commit

Permalink
fix: mgmt lambda counter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
necipallef committed May 13, 2024
1 parent 45625a3 commit dbd4642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgmt-lambda/handlers/updateHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async function updateCloudFrontConfig(
continue
}

fpCacheBehaviorsUpdated++
fpCacheBehaviorsFound++
const lambdaAssocList = getCacheBehaviorLambdaFunctionAssociations(cacheBehavior, lambdaFunctionName)
if (lambdaAssocList?.length === 1) {
lambdaAssocList[0].LambdaFunctionARN = latestFunctionArn
Expand Down

0 comments on commit dbd4642

Please sign in to comment.