mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-07-09 19:22:21 +02:00
The restore command was missing the CUSTOM_CNPG_GROUP and CUSTOM_CNPG_VERSION environment variable bindings that other commands (e.g. instance) already had. Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> refactor(restore): use shared scheme generation for custom CNPG groups Extract generateScheme() from the instance package into common.GenerateScheme() and use it from both instance and restore managers. The restore manager previously used a hardcoded init() that ignored CUSTOM_CNPG_GROUP and CUSTOM_CNPG_VERSION, causing restore jobs to fail when running under a non-standard CNPG API group. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> |
||
|---|---|---|
| .. | ||
| check.go | ||
| common.go | ||
| doc.go | ||
| errors.go | ||
| health.go | ||
| scheme.go | ||
| wal_import.go | ||
| wal.go | ||