Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Nov 16, 2023
1 parent 77693ab commit 52f214f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flow/connectors/eventhub/eventhub.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,7 @@ func (c *EventHubConnector) processBatch(
"flowName": flowJobName,
}).Infof("processed %d records for sending", numRecords)

var flushErr error

flushErr = batchPerTopic.flushAllBatches(ctx, maxParallelism, flowJobName)
flushErr := batchPerTopic.flushAllBatches(ctx, maxParallelism, flowJobName)
if flushErr != nil {
return 0, flushErr
}
Expand Down

0 comments on commit 52f214f

Please sign in to comment.