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

Commit 5cddbdb

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 5cddbdb

2 files changed

Lines changed: 81 additions & 81 deletions

File tree

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

Lines changed: 1 addition & 1 deletion

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

Lines changed: 80 additions & 80 deletions

0 commit comments

Comments
 (0)