-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
printing name of the target when a policy fails to attach #3943
Conversation
Signed-off-by: Viktor Sadovnikov <[email protected]>
internal/gatewayapi/testdata/securitypolicy-status-conditions.out.yaml
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3943 +/- ##
==========================================
- Coverage 67.40% 67.38% -0.02%
==========================================
Files 183 183
Lines 22435 22440 +5
==========================================
- Hits 15123 15122 -1
- Misses 6225 6227 +2
- Partials 1087 1091 +4 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Viktor Sadovnikov <[email protected]>
@zirain, I corrected the files with the expected test outcomes. Could you please approve the workflows? |
Signed-off-by: Viktor Sadovnikov <[email protected]>
The trailing spaces in the test files are removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for improving the status message, making it easier fo figure out which target is overriden.
What type of PR is this?
Policies in the
v1.1.x
versions will have multiple targets. This PR makes error messages on failures to attach to a target more specific.Which issue(s) this PR fixes:
No issues were logged for this
@zirain, this PR replaces #3917, which I messed up with the wrong commits. It also includes changes in the test files.