Commit d7324a5
authored
Add structured reporting diff to WorkstationCluster (#6700)
### BRIEF Change description
Fixes #6630
#### WHY do we need this change?
Add structured reporting diff to the controller in
`pkg/controller/direct/workstations/cluster_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 | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
| 255 | + | |
| 256 | + | |
254 | 257 | | |
255 | 258 | | |
| 259 | + | |
256 | 260 | | |
257 | 261 | | |
258 | 262 | | |
| 263 | + | |
259 | 264 | | |
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
263 | 268 | | |
264 | 269 | | |
265 | 270 | | |
| 271 | + | |
| 272 | + | |
266 | 273 | | |
267 | 274 | | |
268 | 275 | | |
| |||
0 commit comments