Skip to content

Commit d72adbe

Browse files
fcanovaimnencia
authored andcommitted
fix: rebase
Signed-off-by: Francesco Canovai <[email protected]>
1 parent 86e7377 commit d72adbe

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

internal/cnpgi/operator/lifecycle_certificates.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,6 @@ func (impl LifecycleImplementation) collectAdditionalCertificates(
3030
result = append(result, certs...)
3131
}
3232

33-
if len(pluginConfiguration.ReplicaSourceBarmanObjectName) > 0 &&
34-
pluginConfiguration.ReplicaSourceBarmanObjectName != pluginConfiguration.BarmanObjectName {
35-
envs, err := impl.collectObjectStoreCertificates(
36-
ctx,
37-
types.NamespacedName{
38-
Name: pluginConfiguration.RecoveryBarmanObjectName,
39-
Namespace: namespace,
40-
},
41-
)
42-
if err != nil {
43-
return nil, err
44-
}
45-
result = append(result, envs...)
46-
}
47-
4833
return result, nil
4934
}
5035

0 commit comments

Comments
 (0)