Commit 968fef1
authored
Add structured reporting diff to AlloyDBInstance (#6782)
### BRIEF Change description
Fixes #6529
#### WHY do we need this change?
Add structured reporting diff to the controller in
`pkg/controller/direct/alloydb/instance_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
+8
-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 | | |
| |||
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
301 | 309 | | |
302 | 310 | | |
303 | 311 | | |
| |||
0 commit comments