Skip to content
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

fix: log panic in am #3174

Merged
merged 2 commits into from
Nov 30, 2023
Merged

fix: log panic in am #3174

merged 2 commits into from
Nov 30, 2023

Conversation

acpana
Copy link
Contributor

@acpana acpana commented Nov 28, 2023

fixes #3171

this was a dormant panic it seems that never got hit before since the log level was never exercised prior to changing the DebugLevel to 1.

@acpana acpana requested a review from a team as a code owner November 28, 2023 00:03
@acpana
Copy link
Contributor Author

acpana commented Nov 28, 2023

Needs backporting to 3.14

Copy link
Member

@sozercan sozercan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM

@sozercan
Copy link
Member

please feel free to create a cherry pick pr for release-3.14 after this pr merges

Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov-commenter
Copy link

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (5db70c1) 53.68% compared to head (858103a) 53.81%.

Files Patch % Lines
pkg/audit/manager.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3174      +/-   ##
==========================================
+ Coverage   53.68%   53.81%   +0.13%     
==========================================
  Files         136      136              
  Lines       12198    12198              
==========================================
+ Hits         6548     6564      +16     
+ Misses       5145     5133      -12     
+ Partials      505      501       -4     
Flag Coverage Δ
unittests 53.81% <0.00%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@acpana acpana merged commit 2370c50 into open-policy-agent:master Nov 30, 2023
16 checks passed
acpana added a commit to acpana/gatekeeper that referenced this pull request Nov 30, 2023
maxsmythe pushed a commit that referenced this pull request Dec 5, 2023
openshift-merge-bot bot pushed a commit to stolostron/gatekeeper that referenced this pull request Dec 6, 2023
leewoobin789 pushed a commit to softlee-io/gatekeeper that referenced this pull request Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

log-level=Debug cause error
4 participants