chore(websecure): update log message

This commit is contained in:
Siyuan Miao 2025-04-13 03:11:17 +02:00
parent 338d8fd55e
commit 8eecb315f6
1 changed files with 5 additions and 1 deletions

View File

@ -96,7 +96,11 @@ func (s *CertStore) loadCertificate(hostname string) {
s.certificates[hostname] = &cert
s.log.Info().Str("hostname", hostname).Msg("Loaded certificate")
if hostname == selfSignerCAMagicName {
s.log.Info().Msg("loaded CA certificate")
} else {
s.log.Info().Str("hostname", hostname).Msg("loaded certificate")
}
}
// GetCertificate returns the certificate for the given hostname