Skip to content

Commit 999115f

Browse files
fix: flake8
1 parent c308885 commit 999115f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prowler/providers/aws/services/awslambda/awslambda_function_using_cross_account_layers/awslambda_function_using_cross_account_layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def execute(self):
1919
)
2020
elif cross_account_layers:
2121
report.status = "FAIL"
22-
layer_arns = ", ".join(l.arn for l in cross_account_layers)
22+
layer_arns = ", ".join(layer.arn for layer in cross_account_layers)
2323
report.status_extended = (
2424
f"Lambda function {function.name} uses cross-account "
2525
f"layer(s): {layer_arns}."

0 commit comments

Comments
 (0)