mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 13:43:10 +01:00
fix: deduplicating projections
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
This commit is contained in:
parent
f15194ac80
commit
a5f30f45c8
@ -37,7 +37,8 @@ func (impl LifecycleImplementation) collectAdditionalCertificates(
|
|||||||
result = append(result, envs...)
|
result = append(result, envs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(pluginConfiguration.RecoveryBarmanObjectName) > 0 {
|
if len(pluginConfiguration.RecoveryBarmanObjectName) > 0 &&
|
||||||
|
pluginConfiguration.RecoveryBarmanObjectName != pluginConfiguration.BarmanObjectName {
|
||||||
envs, err := impl.collectObjectStoreCertificates(
|
envs, err := impl.collectObjectStoreCertificates(
|
||||||
ctx,
|
ctx,
|
||||||
types.NamespacedName{
|
types.NamespacedName{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user