Dumping task key instead of tasks from validation_output

Change-Id: I9b5445cbccf34e31daf055d264975d0a1eba9aba
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
(cherry picked from commit c8137f8f01)
(cherry picked from commit f5af50f5dc)
(cherry picked from commit 4886a70671)
This commit is contained in:
Gael Chamoulaud (Strider) 2020-12-01 14:27:46 +01:00
parent 8ddfc7d5f1
commit e3ef26ab0c
No known key found for this signature in database
GPG Key ID: 4119D0305C651D66
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ class TripleOValidatorShowRun(command.Command):
else:
for d in data:
for p in d.get('validation_output', []):
print(json.dumps(p['tasks'],
print(json.dumps(p['task'],
indent=4,
sort_keys=True))
else: