-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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 the problem of incorrect old data passed to watcher during updates #4959
Fix the problem of incorrect old data passed to watcher during updates #4959
Conversation
Signed-off-by: John Niang <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #4959 +/- ##
============================================
- Coverage 56.10% 56.08% -0.02%
- Complexity 3031 3032 +1
============================================
Files 524 524
Lines 17652 17663 +11
Branches 1315 1319 +4
============================================
+ Hits 9903 9906 +3
- Misses 7201 7209 +8
Partials 548 548 ☔ View full report in Codecov by Sentry. |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: guqing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
halo-dev#4959) #### What type of PR is this? /kind bug /area core /milestone 2.11.0 #### What this PR does / why we need it: This PR resolves the problem of incorrect old data passed to watcher during updates. As shown in the following line, the old value should be `old` instead of `extension` from outside. https://github.com/halo-dev/halo/blob/7a84f553005b2d8047ccdb0acf473693384a7b51/application/src/main/java/run/halo/app/extension/ReactiveExtensionClientImpl.java#L172 #### Does this PR introduce a user-facing change? ```release-note None ```
What type of PR is this?
/kind bug
/area core
/milestone 2.11.0
What this PR does / why we need it:
This PR resolves the problem of incorrect old data passed to watcher during updates. As shown in the following line, the old value should be
old
instead ofextension
from outside.halo/application/src/main/java/run/halo/app/extension/ReactiveExtensionClientImpl.java
Line 172 in 7a84f55
Does this PR introduce a user-facing change?