diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-02-16 06:44:45 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-02-22 15:08:58 -0500 |
commit | 6f7a803d06e1fe5e760fcd87959f3290b7c460d2 (patch) | |
tree | c632ab7fbd856cde677657030567e936d5440e70 /pkg/trust/config.go | |
parent | d3903a85910979d8212028cf814574047015db58 (diff) | |
download | podman-6f7a803d06e1fe5e760fcd87959f3290b7c460d2.tar.gz podman-6f7a803d06e1fe5e760fcd87959f3290b7c460d2.tar.bz2 podman-6f7a803d06e1fe5e760fcd87959f3290b7c460d2.zip |
Cleanup display of trust with transports
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/trust/config.go')
-rw-r--r-- | pkg/trust/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/trust/config.go b/pkg/trust/config.go index 164df2a90..6186d4cbd 100644 --- a/pkg/trust/config.go +++ b/pkg/trust/config.go @@ -2,11 +2,11 @@ package trust // Policy describes a basic trust policy configuration type Policy struct { - Name string `json:"name"` + Transport string `json:"transport"` + Name string `json:"name,omitempty"` RepoName string `json:"repo_name,omitempty"` Keys []string `json:"keys,omitempty"` - SignatureStore string `json:"sigstore"` - Transport string `json:"transport"` + SignatureStore string `json:"sigstore,omitempty"` Type string `json:"type"` GPGId string `json:"gpg_id,omitempty"` } |