From 8cbb75f9baedb20deeb315c4520453308e26a03a Mon Sep 17 00:00:00 2001 From: Maxim Ivanov Date: Tue, 10 Apr 2018 15:46:43 +0100 Subject: [PATCH] Fix error formatting --- pkg/controller/certificates/sync.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/controller/certificates/sync.go b/pkg/controller/certificates/sync.go index 41dbd6f37..6162ee975 100644 --- a/pkg/controller/certificates/sync.go +++ b/pkg/controller/certificates/sync.go @@ -236,9 +236,9 @@ func (c *Controller) updateSecret(crt *v1alpha1.Certificate, namespace string, c // and private key will be stored in the named secret func (c *Controller) issue(ctx context.Context, issuer issuer.Interface, crt *v1alpha1.Certificate) error { var err error - glog.Info("Preparing certificate %s/%s with issuer", crt.Namespace, crt.Name) + glog.Infof("Preparing certificate %s/%s with issuer", crt.Namespace, crt.Name) if err = issuer.Prepare(ctx, crt); err != nil { - glog.Info("Error preparing issuer for certificate %s/%s: %v", crt.Namespace, crt.Name, err) + glog.Infof("Error preparing issuer for certificate %s/%s: %v", crt.Namespace, crt.Name, err) return err } @@ -274,9 +274,9 @@ func (c *Controller) issue(ctx context.Context, issuer issuer.Interface, crt *v1 // and private key will be stored in the named secret func (c *Controller) renew(ctx context.Context, issuer issuer.Interface, crt *v1alpha1.Certificate) error { var err error - glog.Info("Preparing certificate %s/%s with issuer", crt.Namespace, crt.Name) + glog.Infof("Preparing certificate %s/%s with issuer", crt.Namespace, crt.Name) if err = issuer.Prepare(ctx, crt); err != nil { - glog.Info("Error preparing issuer for certificate %s/%s: %v", crt.Namespace, crt.Name, err) + glog.Infof("Error preparing issuer for certificate %s/%s: %v", crt.Namespace, crt.Name, err) return err }