Skip to content

Commit c20ffc3

Browse files
committed
docs: fix typo
1 parent 26d0a39 commit c20ffc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/certificatetransparency/ct-parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func leafCertFromX509cert(cert x509.Certificate) models.LeafCert {
127127
IsCA: cert.IsCA,
128128
}
129129

130-
// The zero value of DomainsEntry.Data is nil, but we want an empty array - especially for json marshalling later.
130+
// The zero value of DomainsEntry.Data is nil, but we want an empty array - especially for JSON marshaling later.
131131
if leafCert.AllDomains == nil {
132132
leafCert.AllDomains = []string{}
133133
}

0 commit comments

Comments
 (0)