mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-11-28 09:33:54 +02:00
fix ERROR message
This commit is contained in:
parent
36e64407fc
commit
1b2784b7cd
@ -140,8 +140,8 @@ do_restore_or_validate(time_t target_backup_id,
|
||||
&& !dest_backup)
|
||||
{
|
||||
if (current_backup->status != BACKUP_STATUS_OK)
|
||||
elog(ERROR, "given backup %s is in %s status",
|
||||
base36enc(target_backup_id), status2str(current_backup->status));
|
||||
elog(ERROR, "Backup %s has status: %s",
|
||||
base36enc(current_backup->status), status2str(current_backup->status));
|
||||
|
||||
if (target_tli)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user