Commit b0139e5
authored
Add structured reporting diff to AppHubApplication (#6779)
### BRIEF Change description
Fixes #6535
#### WHY do we need this change?
Add structured reporting diff to the controller in
`pkg/controller/direct/apphub/application_controller.go`.
The `structuredreporting.ReportDiff` should be used in the `Update`
method of the adapter to report which fields are being updated.
This helps in debugging reconciliation loops and provides better
visibility into what changed.
#### Special notes for your reviewer:
#### Does this PR add something which needs to be 'release noted'?
```release-note
NONE
```
#### Additional documentation e.g., references, usage docs, etc.:
```docs
NONE
```
#### Intended Milestone
- [ ] Reviewer tagged PR with the actual milestone.
### Tests you have done
- [ ] Run `make ready-pr` to ensure this PR is ready for review.
- [ ] Perform necessary E2E testing for changed resources.1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
203 | 210 | | |
204 | 211 | | |
205 | 212 | | |
| |||
0 commit comments