spiegel_podman/pkg/trust
Miloslav Trmač 1845046c16 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>
2022-08-29 17:55:39 +02:00
..
testdata Add support for showing keyPaths in (podman image trust show) 2022-08-29 17:55:39 +02:00
policy.go Preserve all unknown PolicyRequirement fields on (podman image trust set) 2022-08-29 17:55:39 +02:00
policy_test.go Preserve all unknown PolicyRequirement fields on (podman image trust set) 2022-08-29 17:55:39 +02:00
registries.go Use the full descriptionsOfPolicyRequirements for the default scope 2022-08-29 17:55:38 +02:00
trust.go Add support for showing keyPaths in (podman image trust show) 2022-08-29 17:55:39 +02:00
trust_test.go Add support for showing keyPaths in (podman image trust show) 2022-08-29 17:55:39 +02:00