mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-08 13:21:21 -05:00
fix(postprocessing): repair restart logic
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user