From 524f4ed816d6d75094a185c37c210e297038d2f6 Mon Sep 17 00:00:00 2001 From: Ruchi Agarwal Date: Thu, 25 May 2023 12:45:38 -0700 Subject: [PATCH] Code changed to remove dulplicate transactionID --- svc-events/events/publishevttosubscriber.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/svc-events/events/publishevttosubscriber.go b/svc-events/events/publishevttosubscriber.go index cccd3c5de..e18f13f00 100644 --- a/svc-events/events/publishevttosubscriber.go +++ b/svc-events/events/publishevttosubscriber.go @@ -41,7 +41,6 @@ import ( "github.com/ODIM-Project/ODIM/lib-utilities/services" "github.com/ODIM-Project/ODIM/svc-events/evmodel" uuid "github.com/satori/go.uuid" - "github.com/sirupsen/logrus" ) var ( @@ -80,7 +79,6 @@ func (e *ExternalInterfaces) addFabric(ctx context.Context, message common.Messa // bool: return false if any error occurred during execution, else returns true func (e *ExternalInterfaces) PublishEventsToDestination(ctx context.Context, data interface{}) bool { eventUniqueID := uuid.NewV4().String() - logging = logging.WithFields(logrus.Fields{"transactionid": eventUniqueID}) if data == nil { logging.Info("invalid input params") return false