Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
davissp14 committed Jun 27, 2024
1 parent 47a6f21 commit d91ea1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/flypg/barman_restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ func NewBarmanRestore() (*BarmanRestore, error) {
endpoint: strings.TrimSpace(os.Getenv("SOURCE_AWS_ENDPOINT_URL")),
bucket: strings.TrimSpace(os.Getenv("SOURCE_AWS_BUCKET_NAME")),

recoveryTarget: getenv("WAL_RECOVERY_TARGET", "immediate"),
recoveryTargetTimeline: getenv("WAL_RECOVERY_TARGET_TIME", "latest"),
recoveryTarget: getenv("WAL_RECOVERY_TARGET", "immediate"),
// TODO - Use recovery target time instead. This is a temporary solution.
recoveryTargetTimeline: getenv("WAL_RECOVERY_TARGET_TIMELINE", "latest"),
recoveryTargetAction: getenv("WAL_RECOVERY_TARGET_ACTION", "promote"),
}, nil
}
Expand Down

0 comments on commit d91ea1a

Please sign in to comment.