mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-05 06:32:21 +02:00
Validate() and the instance sidecar injection condition each independently re-encoded "is any of BarmanObjectName, RecoveryBarmanObjectName or ReplicaSourceBarmanObjectName set". The injection condition had already drifted from Validate() once, missing RecoveryBarmanObjectName until this PR added it back. Extract a single HasAnyBarmanObjectStore() method so the two checks can no longer drift apart the same way again. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> |
||
|---|---|---|
| .. | ||
| config | ||
| rbac | ||
| specs | ||
| doc.go | ||
| identity.go | ||
| lifecycle_certificates.go | ||
| lifecycle_envs.go | ||
| lifecycle_resources.go | ||
| lifecycle_test.go | ||
| lifecycle.go | ||
| manager.go | ||
| reconciler.go | ||
| start.go | ||
| suite_test.go | ||