From f23857e249c8afe076813057ca586a2b11696d69 Mon Sep 17 00:00:00 2001 From: JamesMurkin Date: Mon, 10 Jul 2023 16:13:49 +0100 Subject: [PATCH] rewording --- internal/common/certs/cached_certificate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/common/certs/cached_certificate.go b/internal/common/certs/cached_certificate.go index 7cad2ddbd1e..2588d0f5b50 100644 --- a/internal/common/certs/cached_certificate.go +++ b/internal/common/certs/cached_certificate.go @@ -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) } } } @@ -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