diff --git a/pkg/webhook/mutating/webhook.go b/pkg/webhook/mutating/webhook.go index 8ee8e3d..05b4016 100644 --- a/pkg/webhook/mutating/webhook.go +++ b/pkg/webhook/mutating/webhook.go @@ -39,7 +39,7 @@ func (c *WebhookConfig) defaults() error { if c.Logger == nil { c.Logger = log.Noop } - c.Logger = c.Logger.WithValues(log.Kv{"webhook-id": c.ID, "webhhok-type": "mutating"}) + c.Logger = c.Logger.WithValues(log.Kv{"webhook-id": c.ID, "webhook-type": "mutating"}) return nil } diff --git a/pkg/webhook/validating/webhook.go b/pkg/webhook/validating/webhook.go index df674d7..bbf615e 100644 --- a/pkg/webhook/validating/webhook.go +++ b/pkg/webhook/validating/webhook.go @@ -37,7 +37,7 @@ func (c *WebhookConfig) defaults() error { if c.Logger == nil { c.Logger = log.Noop } - c.Logger = c.Logger.WithValues(log.Kv{"webhook-id": c.ID, "webhhok-type": "validating"}) + c.Logger = c.Logger.WithValues(log.Kv{"webhook-id": c.ID, "webhook-type": "validating"}) return nil }