fix(backup): honor Backup `spec.online` when finalizing volume snapshots · cloudnative-pg/cloudnative-pg@c375fd7 · GitHub
Skip to content

Commit c375fd7

Browse files
committed
fix(backup): honor Backup spec.online when finalizing volume snapshots
`status.online` was recomputed from the cluster-level default instead of the Backup's own spec, so a cold backup (`online: false`) could be reported as online in status. Closes #11275 Assisted-by: Claude Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
1 parent 0ec8d9c commit c375fd7

2 files changed

Lines changed: 73 additions & 1 deletion

File tree

‎pkg/reconciler/backup/volumesnapshot/reconciler.go‎

Lines changed: 1 addition & 1 deletion

‎pkg/reconciler/backup/volumesnapshot/reconciler_test.go‎

Lines changed: 72 additions & 0 deletions

0 commit comments

Comments
 (0)