Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Nov 20, 2023
1 parent 3aee3e2 commit 987ebc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/eventhub/hub_batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ func (h *HubBatches) flushAllBatches(
})
})

err := g.Wait()
log.Infof("[flush] successfully sent %d events in total to event hub",
numEventsPushed)
err := g.Wait()

// clear the batches after flushing them.
h.Clear()
Expand Down

0 comments on commit 987ebc8

Please sign in to comment.