We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883cb4b commit d711a96Copy full SHA for d711a96
internal/cnpgi/common/common.go
@@ -40,9 +40,9 @@ const (
40
func GetRestoreCABundleEnv(configuration *barmanapi.BarmanObjectStoreConfiguration) []string {
41
var env []string
42
43
- if configuration.EndpointCA != nil && configuration.BarmanCredentials.AWS != nil {
+ if configuration.EndpointCA != nil && configuration.AWS != nil {
44
env = append(env, fmt.Sprintf("AWS_CA_BUNDLE=%s", BarmanBackupEndpointCACertificateLocation))
45
- } else if configuration.EndpointCA != nil && configuration.BarmanCredentials.Azure != nil {
+ } else if configuration.EndpointCA != nil && configuration.Azure != nil {
46
env = append(env, fmt.Sprintf("REQUESTS_CA_BUNDLE=%s", BarmanBackupEndpointCACertificateLocation))
47
}
48
return env
0 commit comments