Skip to content

Commit

Permalink
Merge pull request #5 from agarwal-ruchi1206/Odim-7446
Browse files Browse the repository at this point in the history
Removing duplicate transactionID in svc-events
  • Loading branch information
amar-shalgar authored May 26, 2023
2 parents 95afcd9 + 524f4ed commit 1cb9714
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions svc-events/events/publishevttosubscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1cb9714

Please sign in to comment.