Skip to content

Commit

Permalink
fix(stacks): condition disableNewrilc
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioCafolla committed Oct 3, 2023
1 parent 29e65c5 commit 110cd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constructs/aws-lambda/newrelic-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class NewRelicFunction extends Function {

super(scope, id, { ...props, handler });

if (props.disableNewRelic !== false) {
if (props.disableNewRelic === false) {
this.addNewRelicLayer(scope, {
handler: app_handler,
newRelicLayerName: props.newRelicLayerName,
Expand Down

0 comments on commit 110cd0e

Please sign in to comment.