Commit c1ab6e1
authored
admin: Only log fields being changed in dry-run UpdateIncident (#8842)
The dry-run UpdateIncident log recorded zero values (1970 timestamps,
enabled=false) for fields the request leaves unset. A real
UpdateIncident only applies non-empty fields, so the dry-run record
misrepresented what a real run would do. Log only the fields present in
the request, so "absent" always means "not changed".
This PR was generated as part of an audit of
#8606 using Claude Fable 5.1 parent fea684f commit c1ab6e1
1 file changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
118 | 127 | | |
119 | 128 | | |
120 | 129 | | |
| |||
0 commit comments