Skip to content

Commit

Permalink
rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMurkin committed Jul 10, 2023
1 parent 310b2ab commit f23857e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/common/certs/cached_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (c *CachedCertificateService) Run(ctx context.Context) {
case <-ticker.C:
err := c.refresh()
if err != nil {
log.WithError(err).Errorf("failed refreshing certificate for files cert: %s key: %s", c.certPath, c.keyPath)
log.WithError(err).Errorf("failed refreshing certificate from files cert: %s key: %s", c.certPath, c.keyPath)
}
}
}
Expand Down Expand Up @@ -89,7 +89,7 @@ func (c *CachedCertificateService) refresh() error {
}

if modified {
log.Infof("refreshing certificate for files cert: %s key: %s", c.certPath, c.keyPath)
log.Infof("refreshing certificate from files cert: %s key: %s", c.certPath, c.keyPath)
certFileData, err := os.ReadFile(c.certPath)
if err != nil {
return err
Expand Down

0 comments on commit f23857e

Please sign in to comment.