From 32fe893ac186ca4610bb25f893a77f5237f995e4 Mon Sep 17 00:00:00 2001 From: James Peiris Date: Tue, 25 May 2021 10:56:30 +0100 Subject: [PATCH] Remove source of duplicate properties in JSON log --- eventsources/common/webhook/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventsources/common/webhook/webhook.go b/eventsources/common/webhook/webhook.go index 065de1af86..9541f98f00 100644 --- a/eventsources/common/webhook/webhook.go +++ b/eventsources/common/webhook/webhook.go @@ -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,