Commit a5f1d73
authored
Add structured reporting diff to ReCAPTCHAEnterpriseFirewallPolicy (#6716)
### BRIEF Change description
Fixes #6608
#### WHY do we need this change?
Add structured reporting diff to the controller in
`pkg/controller/direct/recaptchaenterprise/firewallpolicy_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.File tree
1 file changed
+7
-0
lines changed- pkg/controller/direct/recaptchaenterprise
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
190 | 197 | | |
191 | 198 | | |
192 | 199 | | |
| |||
0 commit comments