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(SourceCode): OnFallback default generation #2122

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Mar 25, 2025

Context

When adding a onFallback property in the circuitBreaker EIP, it's nested one additional level, making the route fail.

Changes

This commit adds a default value for onFallback to fix this issue.

fix: #2119

When adding a `onFallback` property in the `circuitBreaker` EIP, it's nested one additional level, making the route fail.

This commit adds a default value for `onFallback` to fix this issue.

fix: KaotoIO#2119
Copy link

codecov bot commented Mar 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.64%. Comparing base (e7f3397) to head (15368cd).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2122   +/-   ##
=========================================
  Coverage     81.64%   81.64%           
  Complexity      456      456           
=========================================
  Files           538      538           
  Lines         17044    17046    +2     
  Branches       3580     3581    +1     
=========================================
+ Hits          13915    13917    +2     
  Misses         2870     2870           
  Partials        259      259           

☔ 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.

@lordrip lordrip requested a review from a team March 25, 2025 17:15
@lordrip lordrip marked this pull request as ready for review March 25, 2025 17:16
@lordrip lordrip merged commit ffba1a0 into KaotoIO:main Mar 25, 2025
14 checks passed
@lordrip lordrip deleted the fix/onfallback-eip branch March 25, 2025 22:49
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.

onFallback wrongly generated
2 participants