Skip to content

chore: remove invalid validation#7208

Merged
zirain merged 1 commit intoenvoyproxy:mainfrom
zirain:fix-nit
Oct 16, 2025
Merged

chore: remove invalid validation#7208
zirain merged 1 commit intoenvoyproxy:mainfrom
zirain:fix-nit

Conversation

@zirain
Copy link
Copy Markdown
Member

@zirain zirain commented Oct 13, 2025

Seperated from #7009

@zirain zirain requested a review from a team as a code owner October 13, 2025 03:44
@@ -238,10 +238,7 @@ func validateProxyAccessLog(accessLog *egv1a1.ProxyAccessLog) []error {
errs = append(errs, err)
}
case egv1a1.ProxyAccessLogFormatTypeJSON:
if setting.Format.JSON == nil {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

nil equals using default.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.11%. Comparing base (481a2ca) to head (6e3f014).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7208      +/-   ##
==========================================
+ Coverage   71.08%   71.11%   +0.02%     
==========================================
  Files         228      228              
  Lines       40691    40687       -4     
==========================================
+ Hits        28926    28934       +8     
+ Misses      10069    10059      -10     
+ Partials     1696     1694       -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: zirain <zirain2009@gmail.com>
@arkodg arkodg requested review from a team October 15, 2025 01:16
@zirain zirain merged commit 6db21bc into envoyproxy:main Oct 16, 2025
32 checks passed
@zirain zirain deleted the fix-nit branch October 16, 2025 00:47
aburan28 pushed a commit to aburan28/gateway that referenced this pull request Oct 18, 2025
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: Adam Buran <aburan28@gmail.com>
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.

3 participants