summaryrefslogtreecommitdiff
path: root/commands.md
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2022-08-25 01:25:08 +0200
committerMiloslav Trmač <mitr@redhat.com>2022-08-29 17:55:39 +0200
commit1845046c160de2f95d2bcc0869f8f407c7205114 (patch)
tree82284a06917a36f2883e2d21928c2ec73a4e0ee0 /commands.md
parent093054ae3c9bd869cbe1d4daf2e8321115484f18 (diff)
downloadpodman-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