Skip to content

Commit

Permalink
postgres-blueprint: fix pitr time format
Browse files Browse the repository at this point in the history
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
  • Loading branch information
PrasadG193 committed Sep 13, 2019
1 parent 72985e1 commit 8490473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/stable/postgresql/postgresql-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ actions:
restore_command = 'wal-e --s3-prefix ${old_wale_prefix} wal-fetch "%f" "%p"'
{{- if .Options }}
{{- if .Options.pitr }}
recovery_target_time = '{{ toDate "2006-01-02T15:04:05.000Z07:00" .Options.pitr | date "2006-01-02 15:04:05 MST" }}'
recovery_target_time = '{{ toDate "2006-01-02T15:04:05Z" .Options.pitr | date "2006-01-02 15:04:05 GMT" }}'
{{- end }}
{{- end }}
EOF
Expand Down

0 comments on commit 8490473

Please sign in to comment.