Commit 0ceb178
authored
Add structured reporting diff to PubSubSnapshot (#6717)
### BRIEF Change description
Fixes #6607
#### WHY do we need this change?
Add structured reporting diff to the controller in
`pkg/controller/direct/pubsub/pubsubsnapshot_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
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| 191 | + | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
| |||
196 | 200 | | |
197 | 201 | | |
198 | 202 | | |
| 203 | + | |
| 204 | + | |
199 | 205 | | |
200 | 206 | | |
201 | 207 | | |
| |||
0 commit comments