Skip to content

Commit

Permalink
chore: fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhar-rudder committed Feb 10, 2025
1 parent ec54f5d commit c6aa96c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,10 @@ func (m *Manager) Upload(asyncDest *common.AsyncDestinationStruct) common.AsyncU
importingJobIDs, failedJobIDs []int64
importInfos []*importInfo
discardImportInfo *importInfo
failedReason string
failedReason error
)
shouldResetBackoff := true // backoff should be reset if authz error is not encountered for any of the tables
isBackoffSet := false // should not be set again if already set
var failedReason error
for _, info := range uploadInfos {
imInfo, discardImInfo, err := m.sendEventsToSnowpipe(ctx, asyncDest.Destination.ID, &destConf, info)
if err != nil {
Expand Down Expand Up @@ -297,7 +296,6 @@ func (m *Manager) Upload(asyncDest *common.AsyncDestinationStruct) common.AsyncU
ImportingCount: len(importingJobIDs),
ImportingParameters: importParameters,
FailedJobIDs: failedJobIDs,
FailedReason: failedReason,
FailedCount: len(failedJobIDs),
DestinationID: asyncDest.Destination.ID,
}
Expand Down

0 comments on commit c6aa96c

Please sign in to comment.