mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-09 09:07:54 +00:00
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>
This commit is contained in:
parent
d520a5ccab
commit
49ac7ee55e
1 changed files with 0 additions and 4 deletions
|
|
@ -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)...)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue