Skip to content

Commit

Permalink
Register the python_aws_lambda_layer target type (#19550)
Browse files Browse the repository at this point in the history
This ensures the `python_aws_lambda_layer` target type exists when
activating the `pants.backend.awslambda.python` backend. This was missed
from #19123, oops!
  • Loading branch information
huonw authored Aug 6, 2023
1 parent 8c501f9 commit fa5cf61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/pants/backend/awslambda/python/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""

from pants.backend.awslambda.python import rules as python_rules
from pants.backend.awslambda.python.target_types import PythonAWSLambda
from pants.backend.awslambda.python.target_types import PythonAWSLambda, PythonAWSLambdaLayer
from pants.backend.awslambda.python.target_types import rules as target_types_rules
from pants.backend.python.subsystems import lambdex

Expand All @@ -17,4 +17,4 @@ def rules():


def target_types():
return [PythonAWSLambda]
return [PythonAWSLambda, PythonAWSLambdaLayer]

0 comments on commit fa5cf61

Please sign in to comment.