diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-08-24 19:57:43 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-08-25 00:33:02 +0200 |
commit | df1d8d0e9353528708a87609b932ae6b833c7ec0 (patch) | |
tree | a9ff73d26aabde98d86025745bce9ecfd2b022c6 /pkg | |
parent | 34d516840df73787d2359037e4a2ab51849e59eb (diff) | |
download | podman-df1d8d0e9353528708a87609b932ae6b833c7ec0.tar.gz podman-df1d8d0e9353528708a87609b932ae6b833c7ec0.tar.bz2 podman-df1d8d0e9353528708a87609b932ae6b833c7ec0.zip |
Remove commented out code
We can always recover it from git, but it seems to serve
no purpose anyway.
Should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/domain/infra/abi/trust.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/domain/infra/abi/trust.go b/pkg/domain/infra/abi/trust.go index 0e3d8fad9..cefe76da7 100644 --- a/pkg/domain/infra/abi/trust.go +++ b/pkg/domain/infra/abi/trust.go @@ -142,16 +142,12 @@ func getPolicyShowOutput(policyContentStruct trust.PolicyContent, systemRegistri Transport: transport, Type: trustTypeDescription(repoval[0].Type), } - // TODO - keyarr is not used and I don't know its intent; commenting out for now for someone to fix later - // keyarr := []string{} uids := []string{} for _, repoele := range repoval { if len(repoele.KeyPath) > 0 { - // keyarr = append(keyarr, repoele.KeyPath) uids = append(uids, trust.GetGPGIdFromKeyPath(repoele.KeyPath)...) } if len(repoele.KeyData) > 0 { - // keyarr = append(keyarr, string(repoele.KeyData)) uids = append(uids, trust.GetGPGIdFromKeyData(repoele.KeyData)...) } } |