Skip to content

Commit

Permalink
check if restore.volumeSnapshots is true (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhudson committed Mar 7, 2024
1 parent 6ac1c9e commit 7685428
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conductor/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tembo-operator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tembo-operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "controller"
description = "Tembo Operator for Postgres"
version = "0.38.1"
version = "0.38.2"
edition = "2021"
default-run = "controller"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion tembo-operator/src/cloudnativepg/cnpg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ fn cnpg_cluster_bootstrap_recovery_volume_snapshots(
cdb: &CoreDB,
) -> Option<ClusterBootstrapRecoveryVolumeSnapshots> {
if let Some(restore) = &cdb.spec.restore {
if restore.volume_snapshot.is_some() {
if restore.volume_snapshot == Some(true) {
return Some(ClusterBootstrapRecoveryVolumeSnapshots {
storage: ClusterBootstrapRecoveryVolumeSnapshotsStorage {
// todo: Work on getting this from the VolumeSnapshot we created
Expand Down

0 comments on commit 7685428

Please sign in to comment.