Log version string when cert-checker starts up (#7086)

This commit is contained in:
Jacob Hoffman-Andrews 2023-09-15 09:15:49 -07:00 committed by GitHub
parent fc5cb56837
commit f465f2252e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -498,6 +498,8 @@ func main() {
err = blog.Set(logger)
cmd.FailOnError(err, "Failed to set audit logger")
logger.Info(cmd.VersionString())
acceptableValidityDurations := make(map[time.Duration]bool)
if len(config.CertChecker.AcceptableValidityDurations) > 0 {
for _, entry := range config.CertChecker.AcceptableValidityDurations {