plugin-barman-cloud/internal/cnpgi/operator/config
Marco Nenciarini a07a396c4f refactor: deduplicate barman object store presence check
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>
2026-08-24 09:37:34 +02:00
..
config_test.go fix: inject barman sidecar in replica clusters bootstrapped with pg_basebackup (#965) 2026-06-19 10:18:36 +02:00
config.go refactor: deduplicate barman object store presence check 2026-08-24 09:37:34 +02:00
doc.go feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
suite_test.go fix: inject barman sidecar in replica clusters bootstrapped with pg_basebackup (#965) 2026-06-19 10:18:36 +02:00