diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-08-25 01:25:08 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-08-25 01:52:59 +0200 |
commit | 61fe95bb4fa7b6f83cd2a013877664db90cd773b (patch) | |
tree | 3db81aa08c21a713fec817dbcf5751374680e119 /docs | |
parent | ad0c785f8e0846112b301872ffc8a7ea276c82a5 (diff) | |
download | podman-61fe95bb4fa7b6f83cd2a013877664db90cd773b.tar.gz podman-61fe95bb4fa7b6f83cd2a013877664db90cd773b.tar.bz2 podman-61fe95bb4fa7b6f83cd2a013877664db90cd773b.zip |
Preserve all unknown PolicyRequirement fields on (podman image trust set)
We are unmarshaling and re-marshaling JSON, which can _silently_ drop data
with the Go design decision.data.
Try harder, by using json.RawMessage at least for the data we care about.
Alternatively, this could use json.Decoder.DisallowUnknownFields.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions