Skip to content

Commit 6cc0497

Browse files
committed
feat(certwatcher): Log source cert to distinguish multiple cert updates
Signed-off-by: s-z-z <[email protected]>
1 parent 9f93124 commit 6cc0497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/certwatcher/certwatcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func (cw *CertWatcher) ReadCertificate() error {
208208
return nil
209209
}
210210

211-
log.Info("Updated current TLS certificate")
211+
log.Info("Updated current TLS certificate", "cert", cw.certPath, "key", cw.keyPath)
212212

213213
// If a callback is registered, invoke it with the new certificate.
214214
cw.RLock()

0 commit comments

Comments
 (0)