Repository navigation
Commit 9f3c487
authored
fix(backup): use Status().Patch for backup status updates in reconcileSnapshotBackup (#9551)
The reconcileSnapshotBackup function was incorrectly using r.Patch()
instead of r.Status().Patch() when setting backup status to pending.
This is inconsistent with all other status patch operations in the
controller and could cause issues since .status is a subresource that
requires the status client.
Signed-off-by: Armando Ruocco <[email protected]>1 parent ea7c496 commit 9f3c487
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| |||
0 commit comments