Skip to content

Commit

Permalink
chore: remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
kayra1 committed Nov 21, 2024
1 parent c387671 commit bce2930
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ func requestDurationMetric() prometheus.HistogramVec {
}

func certificateExpiryDate(certString string) time.Time {
// TODO: Does this return the expiry date of the issuer?
certBlock, _ := pem.Decode([]byte(certString))
cert, _ := x509.ParseCertificate(certBlock.Bytes)
// TODO: cert.NotAfter can exist in a wrong cert. We should catch that at the db level validation
Expand Down

0 comments on commit bce2930

Please sign in to comment.