Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
Signed-off-by: schou <pschou@users.noreply.github.com>
  • Loading branch information
pschou authored and ldez committed Jan 27, 2024
1 parent e453662 commit e1769e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/certs_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (s *CertificatesStorage) WritePFXFile(domain string, certRes *certificate.R
for chainCertPemBlock != nil {
chainCert, err := x509.ParseCertificate(chainCertPemBlock.Bytes)

Check failure on line 237 in cmd/certs_storage.go

View workflow job for this annotation

GitHub Actions / Main Process

shadow: declaration of "err" shadows declaration at line 225 (govet)
if err != nil {
return fmt.Errorf("unable to load Chain Certificate for domain %s: %w", domain, err)
return fmt.Errorf("unable to parse Chain Certificate for domain %s: %w", domain, err)
}
certChain = append(certChain, chainCert)
chainCertPemBlock, rest = pem.Decode(rest) // Try decoding the next pem block
Expand Down

0 comments on commit e1769e0

Please sign in to comment.