bus: noop should still execute fn

This commit is contained in:
bergquist 2018-06-14 09:59:52 +02:00
parent a3ee778ddb
commit 03dae10e79

View File

@ -220,5 +220,5 @@ func ClearBusHandlers() {
type noopTransactionManager struct{}
func (*noopTransactionManager) InTransaction(ctx context.Context, fn func(ctx context.Context) error) error {
return nil
return fn(ctx)
}