aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2023-02-22 11:01:10 -0500
committerDaniel P. Berrangé <berrange@redhat.com>2023-02-23 10:22:44 -0500
commit9a78b3fa9e25216cf8fbb87a14cb68a1d4bd03b9 (patch)
tree6f0835eef6531056c79924fad930689c216df61e /setup.py
parent6e3c5ccac77714be70c0dc52c5210c7cda8fe40f (diff)
downloadlibvirt-ci-9a78b3fa9e25216cf8fbb87a14cb68a1d4bd03b9.zip
libvirt-ci-9a78b3fa9e25216cf8fbb87a14cb68a1d4bd03b9.tar.gz
libvirt-ci-9a78b3fa9e25216cf8fbb87a14cb68a1d4bd03b9.tar.bz2
lcitool: fix compat with podman 4.4.0 and docker
The '{{ json . }}' syntax has returned a single JSON document with an array of entries for images historically with podman. Since podman 4.4.0 this now returns a concatenation of JSON documents, one document per image. Our code is not able to parse a concatenation of documents. This was done to fix docker compatibility[1], because {{ json .}} was supposed to be equivalent to {{ . | json }} while podman mistakenly made it equivalent to {{ json }} IOW, we were already broken in terms of docker compat too. Since we want the single document, we need to use plain 'json' or '{{ json }}'. This picks the former since it does not appear we have a need to use any advanced features of the Go template syntax. [1] https://github.com/containers/podman/issues/16436 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions