Skip to content

Commit

Permalink
Update iam-ape/iam_ape/evaluator.py
Browse files Browse the repository at this point in the history
apply pull request review suggestion

Co-authored-by: Tohar <[email protected]>
  • Loading branch information
skhreshefsharvit and Tohar-orca authored Mar 20, 2024
1 parent aa19e88 commit 50c659b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam-ape/iam_ape/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def get_direct_policies(
) -> List[PolicyWithSource]:
inline_policies = [
PolicyWithSource(
policy["PolicyName"], normalize_policy(policy["PolicyDocument"])
policy.get("PolicyName", "inline policy"), normalize_policy(policy["PolicyDocument"])
)
for policy in entity_obj.get(f"{entity_type.value}PolicyList", [])
]
Expand Down

0 comments on commit 50c659b

Please sign in to comment.