Skip to content

Commit

Permalink
Added brackets around the policy name
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Hesko <[email protected]>
  • Loading branch information
martinhesko committed Nov 12, 2024
1 parent 87bef82 commit a69459a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testsuite/gateway/gateway_api/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def is_affected_by(self, policy: Policy) -> bool:
f"kuadrant.io/{policy.kind(lowercase=False)}Affected",
"True",
"Accepted",
f"Object affected by {policy.kind(lowercase=False)} {policy.namespace()}/{policy.name()}",
f"Object affected by {policy.kind(lowercase=False)} [{policy.namespace()}/{policy.name()}]",
):
return True
return False
Expand Down
2 changes: 1 addition & 1 deletion testsuite/gateway/gateway_api/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def is_affected_by(self, policy: Policy):
f"kuadrant.io/{policy.kind(lowercase=False)}Affected",
"True",
"Accepted",
f"Object affected by {policy.kind(lowercase=False)} {policy.namespace()}/{policy.name()}",
f"Object affected by {policy.kind(lowercase=False)} [{policy.namespace()}/{policy.name()}]",
):
return True
return False
Expand Down

0 comments on commit a69459a

Please sign in to comment.