diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-08-25 01:25:08 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-08-29 17:55:39 +0200 |
commit | 1845046c160de2f95d2bcc0869f8f407c7205114 (patch) | |
tree | 82284a06917a36f2883e2d21928c2ec73a4e0ee0 /commands.md | |
parent | 093054ae3c9bd869cbe1d4daf2e8321115484f18 (diff) | |
download | podman-1845046c160de2f95d2bcc0869f8f407c7205114.tar.gz podman-1845046c160de2f95d2bcc0869f8f407c7205114.tar.bz2 podman-1845046c160de2f95d2bcc0869f8f407c7205114.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 'commands.md')
0 files changed, 0 insertions, 0 deletions