From fca391474a5aa5355df77033e2e43c4d9e39475b Mon Sep 17 00:00:00 2001 From: shrouti1507 Date: Wed, 28 Aug 2024 00:14:54 +0530 Subject: [PATCH] fix: removing unnecessary code --- .../lytics_bulk_upload/lyticsBulkUpload.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/router/batchrouter/asyncdestinationmanager/lytics_bulk_upload/lyticsBulkUpload.go b/router/batchrouter/asyncdestinationmanager/lytics_bulk_upload/lyticsBulkUpload.go index be0252f930..85eaf769ed 100644 --- a/router/batchrouter/asyncdestinationmanager/lytics_bulk_upload/lyticsBulkUpload.go +++ b/router/batchrouter/asyncdestinationmanager/lytics_bulk_upload/lyticsBulkUpload.go @@ -213,9 +213,6 @@ func (b *LyticsBulkUploader) createCSVFile(existingFilePath string, streamTraits err := b.PopulateCsvFile(actionFile, streamTraitsMapping, line, data) if err != nil { actionFile.FailedJobIDs = append(actionFile.FailedJobIDs, data.Metadata.JobID) - } else { - actionFile.SuccessfulJobIDs = append(actionFile.SuccessfulJobIDs, data.Metadata.JobID) - actionFile.EventCount++ } }