From b6da872f7f112698d328793c4af48f5809fee10d Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Fri, 20 Jan 2023 19:16:13 +0300 Subject: [PATCH] Fix typo in webhhok --- pkg/webhook/mutating/webhook.go | 2 +- pkg/webhook/validating/webhook.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }