Dumping task key instead of tasks from validation_output
Change-Id: I9b5445cbccf34e31daf055d264975d0a1eba9aba Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com> (cherry picked from commitc8137f8f01
) (cherry picked from commitf5af50f5dc
)
This commit is contained in:
parent
0f91bcce72
commit
4886a70671
|
@ -466,7 +466,7 @@ class TripleOValidatorShowRun(command.Command):
|
||||||
else:
|
else:
|
||||||
for d in data:
|
for d in data:
|
||||||
for p in d.get('validation_output', []):
|
for p in d.get('validation_output', []):
|
||||||
print(json.dumps(p['tasks'],
|
print(json.dumps(p['task'],
|
||||||
indent=4,
|
indent=4,
|
||||||
sort_keys=True))
|
sort_keys=True))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue