Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
Signed-off-by: Slavek Kabrda <[email protected]>
  • Loading branch information
bkabrda committed Aug 29, 2024
1 parent c5594a9 commit 6be48a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ func certChainToCertificateAuthority(certChainPem []byte) (*root.CertificateAuth
rest := bytes.TrimSpace(certChainPem)
certChain := []*x509.Certificate{}

// skip potential whitespace at end of file (8 is kinda random, but seems to work fine)
for len(rest) > 0 {
var derCert *pem.Block
derCert, rest = pem.Decode(rest)
Expand Down

0 comments on commit 6be48a9

Please sign in to comment.