Skip to content

Commit

Permalink
Merge pull request #233 from al-cheb/fix_webhhok_typo
Browse files Browse the repository at this point in the history
Fix typo in webhhok
  • Loading branch information
slok authored Feb 19, 2023
2 parents 66c244e + b6da872 commit f91b423
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 f91b423

Please sign in to comment.