handle nextUpHook is nil (#465)
This commit is contained in:
parent
4db98899f4
commit
3087aa4eb6
1 changed files with 4 additions and 1 deletions
|
|
@ -267,7 +267,10 @@ func (d *daemon) run() error {
|
|||
return nil, nil
|
||||
}
|
||||
}
|
||||
return nextUpHook(b)
|
||||
if nextUpHook != nil {
|
||||
return nextUpHook(b)
|
||||
}
|
||||
return b, nil
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue