Skip to content

Commit

Permalink
Fix typo in webhhok
Browse files Browse the repository at this point in the history
  • Loading branch information
al-cheb committed Jan 20, 2023
1 parent 66c244e commit b6da872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/webhook/mutating/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/validating/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b6da872

Please sign in to comment.