Skip to content

Commit 2667e1e

Browse files
authored
fix: respect configured pg-wal when restoring (cloudnative-pg#1216)
We forgot to properly propagate the pg-wal flag's value, when used, down in the recover subcommand. This meant that primary instances created from backups were not actually using the volume dedicated to WAL files, even if specified. Closes cloudnative-pg#1210 Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
1 parent 9f30317 commit 2667e1e

File tree

1 file changed

+1
-0
lines changed
  • internal/cmd/manager/instance/restore

1 file changed

+1
-0
lines changed

internal/cmd/manager/instance/restore/cmd.go

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ func NewCmd() *cobra.Command {
5353
ClusterName: clusterName,
5454
Namespace: namespace,
5555
PgData: pgData,
56+
PgWal: pgWal,
5657
}
5758

5859
return restoreSubCommand(ctx, info)

0 commit comments

Comments
 (0)