mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
tests: crutch-fix json parsing in show_pb()
This commit is contained in:
@@ -722,8 +722,9 @@ class ProbackupTest(object):
|
||||
if backup_id:
|
||||
cmd_list += ['-i', backup_id]
|
||||
|
||||
# AHTUNG, WARNING will break json parsing
|
||||
if as_json:
|
||||
cmd_list += ['--format=json']
|
||||
cmd_list += ['--format=json', '--log-level-console=error']
|
||||
|
||||
if as_text:
|
||||
# You should print it when calling as_text=true
|
||||
|
||||
Reference in New Issue
Block a user