mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-08 07:11:53 +00:00
Fix whitespace/spelling nits in JWKS controller
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user