fix(postprocessing): repair restart logic

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg committed 2024-04-08 11:20:01 +02:00
1 parent e6c4f4c89e
commit 7d990390c3
5 files changed
+33 -18

No files matched your search

@@ -40,7 +40,7 @@ func New(config config.Postprocessing) *Postprocessing {
}
// Init is the first step of the postprocessing
func (pp *Postprocessing) Init(ev events.BytesReceived) interface{} {
func (pp *Postprocessing) Init(_ events.BytesReceived) interface{} {
if len(pp.Steps) == 0 {
return pp.finished(events.PPOutcomeContinue)
}