mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-16 04:24:56 +02:00
app/ship_processor.go: Add Close() method that closes the writer.
This commit is contained in:
parent
c225505143
commit
1f09993925
1 changed files with 4 additions and 0 deletions
|
|
@ -156,3 +156,7 @@ func (processor *ShipProcessor) processTraces(traces []*ship.TransactionTraceV0)
|
|||
log.WithError(err).Error("Failed to send messages")
|
||||
}
|
||||
}
|
||||
|
||||
func (processor *ShipProcessor) Close() error {
|
||||
return processor.writer.Close()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue