Commit 37cf3fe
committed
fix: guard segment update against no-op full PUT
segment update lacked the "nothing to update" guard its sibling
commands have, so a no-flag invocation fetched the segment and
re-PUT it unchanged — an audit-log entry and rule-tree overwrite
for a no-op. Fail fast before any network call instead.
beep boop1 parent 1645a66 commit 37cf3fe
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3504 | 3504 | | |
3505 | 3505 | | |
3506 | 3506 | | |
| 3507 | + | |
| 3508 | + | |
| 3509 | + | |
| 3510 | + | |
| 3511 | + | |
| 3512 | + | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
3507 | 3519 | | |
3508 | 3520 | | |
3509 | 3521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
| |||
0 commit comments