From fbcce700dc67b2326271d52d34c0d5a334c2af55 Mon Sep 17 00:00:00 2001 From: Andrew Keesler Date: Thu, 15 Oct 2020 09:22:17 -0400 Subject: [PATCH] Fix whitespace/spelling nits in JWKS controller Signed-off-by: Andrew Keesler --- internal/controller/supervisorconfig/jwks.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/controller/supervisorconfig/jwks.go b/internal/controller/supervisorconfig/jwks.go index 05f74491..24fa67ff 100644 --- a/internal/controller/supervisorconfig/jwks.go +++ b/internal/controller/supervisorconfig/jwks.go @@ -52,7 +52,7 @@ func generateRSAKey(r io.Reader, bits int) (interface{}, error) { return rsa.GenerateKey(r, bits) } -// jwkController holds the field necessary for the JWKS controller to communicate with OPC's and +// jwkController holds the fields necessary for the JWKS controller to communicate with OPC's and // secrets, both via a cache and via the API. type jwksController struct { pinnipedClient pinnipedclientset.Interface @@ -160,7 +160,6 @@ func (c *jwksController) Sync(ctx controllerlib.Context) error { if err := c.createOrUpdateSecret(ctx.Context, secret); err != nil { return fmt.Errorf("cannot create or update secret: %w", err) } - klog.InfoS("created/updated secret", "secret", klog.KObj(secret)) // Ensure that the OPC points to the secret.