Commit ba3a083
committed
Ensure SSA patch can't accidentally create a new object
This fixes a race during image delete where we can get a second
reconcile on a deleted object and accidentally create a new object when
we only intended to remove the finalizer from the old object. With this
change, the second patch will throw an error instead.1 parent 6560f88 commit ba3a083
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments