Skip to content

Commit

Permalink
chore: remove source of duplicate properties in JSON log
Browse files Browse the repository at this point in the history
Signed-off-by: James Peiris <[email protected]>
  • Loading branch information
JamesPeiris committed May 25, 2021
1 parent 02ba6a1 commit e3349ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventsources/common/webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func NewController() *Controller {
func NewRoute(hookContext *v1alpha1.WebhookContext, logger *zap.SugaredLogger, eventSourceName, eventName string, metrics *metrics.Metrics) *Route {
return &Route{
Context: hookContext,
Logger: logger.With(logging.LabelEventSourceName, eventSourceName, logging.LabelEventName, eventName),
Logger: logger,
EventSourceName: eventSourceName,
EventName: eventName,
Active: false,
Expand Down

0 comments on commit e3349ba

Please sign in to comment.