fix(postprocessing): repair restart logic
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
1 parent
9b795c085b
commit
2ab941dea2
5 files changed
+33
-18
No files matched your search
@@ -39,7 +39,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