ShouldCreateWalArchiveVolume returns whether we should create the wal archive volume
()
| 1024 | |
| 1025 | // ShouldCreateWalArchiveVolume returns whether we should create the wal archive volume |
| 1026 | func (cluster *Cluster) ShouldCreateWalArchiveVolume() bool { |
| 1027 | return cluster.Spec.WalStorage != nil |
| 1028 | } |
| 1029 | |
| 1030 | // ShouldPromoteFromReplicaCluster returns true if the cluster should promote |
| 1031 | func (cluster *Cluster) ShouldPromoteFromReplicaCluster() bool { |
no outgoing calls